NullPointerException received on creating webservice from wsdl with jdevel
Hello experts,
I have the following problem when trying to create a web service from a wsdl file:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1054)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
I'm using Jdeveloper 11.1.2.2.0.
Any ideas?
Thanks in advance and best regards!
Edited by: Carolik on 23.10.2012 01:28
are you trying access web service(old) which is free of cost.
nowdays, most of the webservices(free of cost) they are re-locating the service to somewhere else
anyhow, some of the service had been stopped.
so please post which web service are you trying access(if it belongs to public).
if it is private web service dont post here
Similar Messages
-
Webservice from WSDL with imported XSD
Hi all,
Firstly, as a newbie to Jdeveloper forgive the ignorance....
I'm trying to create and deploy a webservice (created top-down).
I have an XSD, and a WSDL which imports this via a relative reference of the kind ../../ etc. - this validates OK in JDeveloper
When I try to deploy this to WL I get a file not found error for this XSD, it can't find the XSD in the packaged archive to be deployed.
So my question, for the import statement in my WSDL which is currently....
<xsd:import namespace="http://xml.netbeans.org/schema/LoanApplication" schemaLocation="../../../LoanApprover.xsd"/> (i.e. XSD directory relative to WSDL directory at design time)
...what do I need to change it to so that when packaged it can find the XSD ?
Thanks in advance
MarkFSolved on JDeveloper forum.
-
Generate document classes when creating WebService from WSDL using JAXRPC
Can anybody tell me how i can generate request response document classes.Response is return type and request is its parameter of method (service provided by webservice).
I had used cmd:
wscompile -keep -gen:both -d src config.xml
My config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl
location="wsdl\TroubleTicket\v1-2\JVTTroubleTicketSession.wsdl"
packageName="src">
<handlerChains>
</handlerChains>
<namespaceMappingRegistry>
</namespaceMappingRegistry>
</wsdl>
</configuration>
After running the wscompile command, i was able to generate SOAPBuilder classes, LiteralSerialiser files, Request-Response-Exception classes and the Tie, stub, Port and Impl classes.
How can i procedd furthur???Arushi,
I would refer to the online tutorial for JWSDP, which walks you through creating a web service and a Client to the service. -
How to create Web Service Client from wsdl with digital signature?
Please, help me to create Web Service Client from wsdl with digital signature. I know create Web Service client from wsdl file and I know how to add digital signature to XML with jwsdp, but I don't know how to do it together.
Thanks.I'm handling security wit JAX-WS handler. So I insert "manually" ws-security tag and I encrypt (and sign) message parts.
On client side, all works fine, but on server side I obtain:
---Server Inbound SOAP message---|#]
Decrypting message and rebuilding Valuees... |#]
Starting decrypt|#]
. dectypted.!
--found following string: <ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona>|#]
...MESSAGE Restored.|#]
<?xml version="1.0" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://calculator.me.org/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soapenv:Body><ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona></soapenv:Body></soapenv:Envelope>|#]
Error in decoding SOAP Message
Error in decoding SOAP Message
at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:89)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.toMessageInfo(SOAPMessageDispatcher.java:187)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:571)
at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:178)
at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:100)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method
at com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:674)
at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:152)
at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:337)
at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:327)
at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:250)
at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:81)
... 29 more
|#]
--->handleFault O_o<---|#]If you have any idea for solving my problem, then I can post my simple example :(
Bye! -
Thread: 11gPS2 : Error creating model from wsdl while creating a WebService
Hi ,
I am trying to create a Web Service Proxy using Jdev.I am using a WSDL file located in my local system for the same. I choose all default options but the proxy is not created due to the following error -
"Error creating model from wsdl <wsdl_name> : A class/interface with the same name xyz already in use"
https://picasaweb.google.com/sudipto.desmukh/ADFIssues?authkey=Gv1sRgCJeF2bWcoM_ZBg#5610073699826050514
I found a few threads which had similar issues but the solutions didnot work for me -
1)Error creating model from wsdl (Create separate model projects for proxies , since in the existing model project I already had generated files using create WebServiceData control wizard)
2)Error when creating Web Service Proxy (there are no duplicate variables or schemas in my wsdl)
Can someone please suggest what might be wrong ?
ThanksThanks for your reply Vishal.Pasting the wsdl -
<definitions xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" targetNamespace="urn:schemas-iwaysoftware-com:iwse" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:schemas-iwaysoftware-com:iwse" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"><types><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:schemas-iwaysoftware-com:iwse" elementFormDefault="qualified"><xs:element name="ibsinfo"><xs:complexType><xs:sequence><xs:element name="service" type="xs:string"/><xs:element name="method" type="xs:string"/><xs:element name="license" type="xs:string"/><xs:element name="disposition" type="xs:string" minOccurs="0"/><xs:element name="Username" type="xs:string" minOccurs="0"/><xs:element name="Password" type="xs:string" minOccurs="0"/><xs:element name="language" type="xs:string" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="adapterexception"><xs:complexType><xs:sequence><xs:element name="error" type="xs:string"/></xs:sequence></xs:complexType></xs:element>
</xs:schema><xs:schema xmlns:m1="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW"><xs:complexType><xs:all><xs:element name="BELEGTYP" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="COMWA" type="rfc:VBCO6" minOccurs="0"/><xs:element name="I_BSTKD" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="35"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="I_VBELN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="N_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="V_STUFEN" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element></xs:sequence></xs:complexType>
</xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="VBCO6"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ETENR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="4"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType>
</xs:schema><xs:schema xmlns:m11="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" xmlns:rfc="urn:iwaysoftware:ibse:jul2003:ZBAPI_SALES_DOC_FLOW:response" elementFormDefault="qualified"><xs:element name="ZBAPI_SALES_DOC_FLOWResponse"><xs:complexType><xs:sequence><xs:element name="ZBAPI_SALES_DOC_FLOW.Response"><xs:complexType><xs:all><xs:element name="BELEGTYP_BACK" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="T_DOCFLOW" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVDOCFLOW" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="T_IDOCINFO" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:ZVIDOCINFO" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="T_RETURN" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:BAPIRET2" minOccurs="0"/></xs:sequence></xs:complexType>
</xs:element><xs:element name="VBFA" minOccurs="0"><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="item" type="rfc:VBFA" minOccurs="0"/></xs:sequence></xs:complexType></xs:element></xs:all></xs:complexType></xs:element>
</xs:sequence><xs:attribute name="cid" use="required" type="xs:string"/></xs:complexType>
</xs:element><xs:complexType name="ZVIDOCINFO"><xs:sequence><xs:element name="DOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="IDOCNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="CREDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="STATUS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="73"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="BAPIRET2"><xs:sequence><xs:element name="TYPE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ID"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="NUMBER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="220"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LOG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LOG_MSG_NO"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V1"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V2"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V3"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MESSAGE_V4"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="PARAMETER"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="32"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ROW" type="xs:int"/><xs:element name="FIELD"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="30"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="SYSTEM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="ZVDOCFLOW"><xs:sequence><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="DESCR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="132"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BEZEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="20"/></xs:restriction></xs:simpleType></xs:element></xs:sequence>
</xs:complexType><xs:complexType name="VBFA"><xs:sequence><xs:element name="MANDT"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBELV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNV"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBELN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="POSNN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBTYP_N"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFMNG"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MEINS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFWRT"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="2" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="WAERS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="5"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VBTYP_V"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="PLMIN"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="TAQUI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ERDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ERZET"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{2}:\d{2}:\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="MATNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="18"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BWART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BDART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="PLART"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="STUFE"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LGNUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="AEDAT"><xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="\d{4}-\d{2}-\d{2}"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="FKTYP"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="BRGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="GEWEI"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VOLUM"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="15"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="VOLEH"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="FPLNR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="FPLTR"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="6"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="RFMNG_FLO" type="xs:double"/><xs:element name="RFMNG_FLT" type="xs:double"/><xs:element name="VRKME"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="3"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="ABGES" type="xs:double"/><xs:element name="SOBKZ"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="SONUM"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="16"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="KZBEF"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="NTGEW"><xs:simpleType><xs:restriction base="xs:decimal"><xs:totalDigits value="13"/><xs:fractionDigits value="3" fixed="true"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="LOGSYS"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="10"/></xs:restriction></xs:simpleType>
</xs:element><xs:element name="WBSTA"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="1"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType></xs:schema>
</types><message name="ZBAPI_SALES_DOC_FLOWIn"><part element="m1:ZBAPI_SALES_DOC_FLOW" name="parameters"/>
</message><message name="ZBAPI_SALES_DOC_FLOWOut"><part element="m11:ZBAPI_SALES_DOC_FLOWResponse" name="parameters"/>
</message><message name="ZBAPI_SALES_DOC_FLOWHeader"><part element="tns:ibsinfo" name="header"/>
</message><message name="AdapterException"><part element="tns:adapterexception" name="fault"/>
</message><portType name="ZBAPI_SALES_DOC_FLOWSoap"><operation name="ZBAPI_SALES_DOC_FLOW"><documentation/><input message="tns:ZBAPI_SALES_DOC_FLOWIn"/><output message="tns:ZBAPI_SALES_DOC_FLOWOut"/><fault message="tns:AdapterException" name="AdapterExceptionFault"/></operation>
</portType><binding name="ZBAPI_SALES_DOC_FLOWSoap" type="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="ZBAPI_SALES_DOC_FLOW"><soap:operation style="document" soapAction="ZBAPI_SALES_DOC_FLOW.ZBAPI_SALES_DOC_FLOWRequest@production@@"/><input><soap:body use="literal"/><soap:header message="tns:ZBAPI_SALES_DOC_FLOWHeader" use="literal" part="header"/>
</input><output><soap:body use="literal"/>
</output><fault name="AdapterExceptionFault"><soap:fault name="AdapterExceptionFault" use="literal"/></fault></operation>
</binding><service name="ZBAPI_SALES_DOC_FLOW"><documentation/><port name="ZBAPI_SALES_DOC_FLOWSoap1" binding="tns:ZBAPI_SALES_DOC_FLOWSoap"><soap:address location="http://f4ofmsoaa01d.dev.life:8001/ibse/IBSEServlet/XDSOAPRouter"/></port></service></definitions> -
Hey All
I have a 3rd party Webservice and I would like to create a control that
calls this webservice and returns XMLBeans. I can import a WSDL
automatically in workshop but the autogenerated control provides me with
a a Java class?
**********************AUTOGENERATED CONTROL BELOW**********************
package temp;
* Webservice for window based updated between maconomy and BEA
* @jc:location
http-url="http://10.227.136.101/cgi-bin/Maconomy/MaconomyWS.dif/soap.ms"
* @jc:wsdl file="#BEAMaconomyWsdl"
public interface testIS extends com.bea.control.ControlExtension,
com.bea.control.ServiceControl
public static class getTableDefinitionResponseType0
implements java.io.Serializable
public java.lang.String feltnavn;
public java.lang.String feltvaerdi;
public java.lang.String felttype;
public java.lang.String mfelttype;
public static class getTableDefinitionResponseType
implements java.io.Serializable
public java.lang.String status;
public java.lang.String fejltxt;
public long queryTimeMs;
public getTableDefinitionResponseType0[] recordInfo;
public static class updateRecordrecordType0
implements java.io.Serializable
public java.lang.String feltnavn;
public java.lang.String feltvaerdi;
public java.lang.String felttype;
public java.lang.String mfelttype;
public static class updateRecordResponseType
implements java.io.Serializable
public java.lang.String status;
public java.lang.String fejltxt;
public java.lang.String queryTimeMs;
public static class insertRecordrecordType0
implements java.io.Serializable
public java.lang.String feltnavn;
public java.lang.String feltvaerdi;
public java.lang.String felttype;
public java.lang.String mfelttype;
public static class insertRecordResponseType
implements java.io.Serializable
public java.lang.String status;
public java.lang.String fejltxt;
public java.lang.String queryTimeMs;
* returns table info
* @jc:protocol form-post="false"
public getTableDefinitionResponseType getTableDefinition
(java.lang.String brugernavn, java.lang.String kodeord, java.lang.String
forbundsnummer, java.lang.String kortnavn, boolean upper);
* updates a record, upper=true denotes an upperpane
* @jc:protocol form-post="false"
public updateRecordResponseType updateRecord (java.lang.String
brugernavn, java.lang.String kodeord, java.lang.String forbundsnummer,
java.lang.String kortnavn, java.lang.String upper,
updateRecordrecordType0[] record);
* inserts a record, upper=true denotes a upper pane
* @jc:protocol form-post="false"
public insertRecordResponseType insertRecord (java.lang.String
brugernavn, java.lang.String kodeord, java.lang.String forbundsnummer,
java.lang.String kortnavn, java.lang.String upper,
insertRecordrecordType0[] record);
static final long serialVersionUID = 1L;
/** @common:define name="BEAMaconomyWsdl" value::
<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:tns="dif.dk"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="dif.dk"
name="BEAMaconomy">
<types>
<schema targetNamespace="dif.dk"
xmlns="http://www.w3.org/2001/XMLSchema">
<simpleType name="amount">
<restriction base="xsd:double">
</restriction>
</simpleType>
<element name="sessionid" type="xsd:string"/>
<element name="Security">
<complexType>
<sequence>
<element name="UsernameToken">
<complexType>
<sequence>
<element name="Username" type="xsd:string"
minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
<element name="getTableDefinition">
<complexType>
<sequence>
<element name="brugernavn" type="xsd:string"/>
<element name="kodeord" type="xsd:string"/>
<element name="forbundsnummer" type="xsd:string"/>
<element name="kortnavn" type="xsd:string"/>
<element name="upper" type="xsd:boolean"/>
</sequence>
</complexType>
</element>
<complexType name="getTableDefinitionResponseType0">
<sequence>
<element minOccurs="1" maxOccurs="1" name="feltnavn"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="feltvaerdi"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="felttype"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="mfelttype"
type="xsd:string"/>
</sequence>
</complexType>
<complexType name="getTableDefinitionResponseType1">
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="element"
type="tns:getTableDefinitionResponseType0"/>
</sequence>
</complexType>
<complexType name="getTableDefinitionResponseType">
<sequence>
<element minOccurs="1" maxOccurs="1" name="status" type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="fejltxt" type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="queryTimeMs"
type="xsd:long"/>
<element minOccurs="1" maxOccurs="1" name="recordInfo"
type="tns:getTableDefinitionResponseType1"/>
</sequence>
</complexType>
<element name="getTableDefinitionResponse"
type="tns:getTableDefinitionResponseType"/>
<complexType name="updateRecordrecordType0">
<sequence>
<element minOccurs="1" maxOccurs="1" name="feltnavn"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="feltvaerdi"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="felttype"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="mfelttype"
type="xsd:string"/>
</sequence>
</complexType>
<complexType name="updateRecordrecordType">
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="element"
type="tns:updateRecordrecordType0"/>
</sequence>
</complexType>
<element name="updateRecord">
<complexType>
<sequence>
<element name="brugernavn" type="xsd:string"/>
<element name="kodeord" type="xsd:string"/>
<element name="forbundsnummer" type="xsd:string"/>
<element name="kortnavn" type="xsd:string"/>
<element name="upper" type="xsd:string"/>
<element name="record" type="tns:updateRecordrecordType"/>
</sequence>
</complexType>
</element>
<complexType name="updateRecordResponseType">
<sequence>
<element minOccurs="1" maxOccurs="1" name="status" type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="fejltxt" type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="queryTimeMs"
type="xsd:string"/>
</sequence>
</complexType>
<element name="updateRecordResponse"
type="tns:updateRecordResponseType"/>
<complexType name="insertRecordrecordType0">
<sequence>
<element minOccurs="1" maxOccurs="1" name="feltnavn"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="feltvaerdi"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="felttype"
type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="mfelttype"
type="xsd:string"/>
</sequence>
</complexType>
<complexType name="insertRecordrecordType">
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="element"
type="tns:insertRecordrecordType0"/>
</sequence>
</complexType>
<element name="insertRecord">
<complexType>
<sequence>
<element name="brugernavn" type="xsd:string"/>
<element name="kodeord" type="xsd:string"/>
<element name="forbundsnummer" type="xsd:string"/>
<element name="kortnavn" type="xsd:string"/>
<element name="upper" type="xsd:string"/>
<element name="record" type="tns:insertRecordrecordType"/>
</sequence>
</complexType>
</element>
<complexType name="insertRecordResponseType">
<sequence>
<element minOccurs="1" maxOccurs="1" name="status" type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="fejltxt" type="xsd:string"/>
<element minOccurs="1" maxOccurs="1" name="queryTimeMs"
type="xsd:string"/>
</sequence>
</complexType>
<element name="insertRecordResponse"
type="tns:insertRecordResponseType"/>
</schema>
</types>
<message name="sessionid">
<part name="id" element="tns:sessionid"/>
</message>
<message name="Security">
<part name="Security" element="tns:Security"/>
</message>
<message name="getTableDefinitionRequest">
<part name="parameters" element="tns:getTableDefinition"/>
</message>
<message name="getTableDefinitionResponse">
<part name="getTableDefinitionResponse"
element="tns:getTableDefinitionResponse"/>
</message>
<message name="updateRecordRequest">
<part name="parameters" element="tns:updateRecord"/>
</message>
<message name="updateRecordResponse">
<part name="updateRecordResponse"
element="tns:updateRecordResponse"/>
</message>
<message name="insertRecordRequest">
<part name="parameters" element="tns:insertRecord"/>
</message>
<message name="insertRecordResponse">
<part name="insertRecordResponse"
element="tns:insertRecordResponse"/>
</message>
<portType name="BEAMaconomyPortType">
<operation name="getTableDefinition">
<documentation>returns table info</documentation>
<input message="tns:getTableDefinitionRequest"/>
<output message="tns:getTableDefinitionResponse"/>
</operation>
<operation name="updateRecord">
<documentation>updates a record, upper=true denotes an
upperpane</documentation>
<input message="tns:updateRecordRequest"/>
<output message="tns:updateRecordResponse"/>
</operation>
<operation name="insertRecord">
<documentation>inserts a record, upper=true denotes a upper
pane</documentation>
<input message="tns:insertRecordRequest"/>
<output message="tns:insertRecordResponse"/>
</operation>
</portType>
<binding name="BEAMaconomySOAPBinding"
type="tns:BEAMaconomyPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getTableDefinition">
<soap:operation soapAction="BEAMaconomy"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="updateRecord">
<soap:operation soapAction="BEAMaconomy"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="insertRecord">
<soap:operation soapAction="BEAMaconomy"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="BEAMaconomyGETBinding" type="tns:BEAMaconomyPortType">
<http:binding verb="GET"/>
<operation name="getTableDefinition">
<http:operation
location="service=BEAMaconomy&op=getTableDefinition"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:content type="text/html"/>
</output>
</operation>
<operation name="updateRecord">
<http:operation
location="service=BEAMaconomy&op=updateRecord"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:content type="text/html"/>
</output>
</operation>
<operation name="insertRecord">
<http:operation
location="service=BEAMaconomy&op=insertRecord"/>
<input>
<http:urlEncoded/>
</input>
<output>
<mime:content type="text/html"/>
</output>
</operation>
</binding>
<service name="BEAMaconomy">
<documentation>Webservice for window based updated between
maconomy and BEA</documentation>
<port name="BEAMaconomySOAPPort"
binding="tns:BEAMaconomySOAPBinding">
<soap:address
location="http://10.227.136.101/cgi-bin/Maconomy/MaconomyWS.dif/soap.ms"/>
</port>
<port name="BEAMaconomyGETPort"
binding="tns:BEAMaconomyGETBinding">
<http:address
location="http://10.227.136.101/cgi-bin/Maconomy/MaconomyWS.dif/get.ms?"/>
</port>
</service>
</definitions>
*/Hi,
oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://x.x.x.x:port/webservices/SOAProvider/plsql/fnd_usr_pkg/?wsdl" Server returned HTTP response code : 503 for URL:
it means service is not available. Check the JDeveloper browser proxy configuration Tool --> Preferences --> Browser and Proxy
Frank -
How to create webservice from function module
Hello,
I'm trying to create webservice from function module from. I choose Utilities/More Utilities/Create Webservice/..From function Module. What data should I enter in section "Enter Package/Request" ?
When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign namespaces"
Is there any doc about this procedure (web service creation) with description of all sections ?
thanks for any reply,
Lukasz FerencHi,
Which SAP product of wich release of which SP are you using ?
The procedure is documented in help.sap.com and in blogs and SDN forum messages.
It means that the use of the SEARCH button should give plenty of answers...
>When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign >namespaces"
As usual, begin your choosen name with an "Z".
Regards,
Olivier -
Webservice from WSDL - Endpoint URL unchanged
Hi all,
I'm following the JDeveloper tutorial here....
http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_17/ccset17_ALL.html
...in this the endpoint URL is left as http://www.example.com - this gets transformed into....
http://localhost:7101/ServiceFromWsdl-Project1-context-root/RatingServicePort
...I believe at the point the webservice is generated from the WSDL.
I have a couple of questions....
1. Where does it get the localhost & 7101 from - at the point of generating the webservice how does it know where I want to deploy it ?
2. When I generate my webservice from WSDL my URL is left unchanged - it deploys ok to my SOAServer (not the JDeveloper integrated one) but not with the endpoint I used in the WSDL - how do I find this endpoint ?
Thanks
MarkFOK, I managed to find the endpoint by hacking a few bits of information together....I assumed the port number because I knew the HTTP port number for my SOAServer, the context root is displayed in the deployment log, I then tagged on the Port Name from my WSDL .... et voila !
Still begs the questions....
1. Is it supposed to overwrite the URL in my original WSDL ?
2. Is there no easier way of finding out the endpoint for a deployed WS ?
Thanks
MarkPF -
10.1.3 java webservice from WSDL = nullpointerexception
I'm playing around with attempting to hit the following webservice:
http://209.234.155.41/medicalresource_ws/medicalresourceservice.asmx
Using their supplied ...?WSDL and my current Jdev environment 10.1.2, I was able to create the stubs and successfully receive data. Then they added security (username token) and I was unable to figure out how to get this working.
So, I read some posts that 10.1.3 was a bit easier to do this but I can't even get past selecting New... Java web service from WSDL - I get this error immediately:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatformFromWebPath(PlatformUtils.java:190)
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatform(PlatformUtils.java:126)
at oracle.jdevimpl.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:132)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thx,
RTI'm playing around with attempting to hit the following webservice:
http://209.234.155.41/medicalresource_ws/medicalresourceservice.asmx
Using their supplied ...?WSDL and my current Jdev environment 10.1.2, I was able to create the stubs and successfully receive data. Then they added security (username token) and I was unable to figure out how to get this working.
So, I read some posts that 10.1.3 was a bit easier to do this but I can't even get past selecting New... Java web service from WSDL - I get this error immediately:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatformFromWebPath(PlatformUtils.java:190)
at oracle.jdevimpl.webservices.util.PlatformUtils.getServicePlatform(PlatformUtils.java:126)
at oracle.jdevimpl.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:132)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thx,
RT -
Issue with IDE configuration for creating Webservice from EJB
Hi All,
I was trying to create a webservice from a EJB(session bean).I executed following steps :
1. I created the bean in one EJB project.
2. Then created another Enterprise Project in whichEJB projects .jar file is included.
3. Now when i right click "ejb-jar.xml" to create a webservice ,webservice wizard
appears in which Server and WS runtime configuration are set properly.
But it displays following error message on the top : "Select a service Project Type".
If i click on the link on the wizard to select a "service Project type" the drop down for the same comes empty.The value for 'Service Project' is already defaulted
as "Webservice Project ".If i go to windows->preferrences->Webservcies->ProjectTopology i found two entries in the service project type list :
1.Dynamic Web project
2.SAP Web Project
But there is no entry for Webservice Type project.Can any one help me out
how to solve this issue ?
Thanks and Regards
AshisHi Ashish,
perhaps you launch the Web service wizard from the wrong location (i.e. not selecting the SEI you want to use). Did you strictly follow the steps described in the <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/44/f36fa8fd1d41aae10000000a114a6b/frameset.htm">documentation</a> for creating the web service? -
JAXWS Webservice from WSDL - Compilation errors in schemas
Hello,
I am creating a webservice (Java EE1.5 JAX-WS ) from wsdl .
When I build the artifacts in JDeveloper, I get few compilation errors related to schemas.
Error(5412,31): com.service.gsrl.FingEvntType.FINGEVNTENTR.ROLEPLYR is already defined in com.service.gsrl.FingEvntType.FINGEVNTENTR
• GSRL_Vers7_Rls21.xsd and DALGSRLService.wsdl both define a ROLE_PLYR and FINGEVNTENTR element.
There could be a conflict when mapping this to Java class names.
Not sure if there is a way around in JAX-WS and if this is a bug.
Any one faced this ort of issue? How to resolve this??
Appreciate your help.
Thanks,
RamThere are few problems with your WSDL
1. targetNamespace in schema section is missing trailing '/', it should be 'http://10.25.98.19:8080/dart/'
2. in portType section 'fault' element is missing 'wsdl:' prefix, it should be '<wsdl:fault>'
3. in binding section type is wrong, it should be 'tns:DartServicesImpl'
4. Also fault element is wrongly defined in binding section it should be
<wsdl:fault name="DARTException">
<soap:fault name="DARTException" use="literal"/>
</wsdl:fault>
Hope this helps. -
Unable to create webservice from EJB due to wrong wizard configuration
Hi All,
I was trying to create a webservice from a EJB(session bean).I executed following steps :
1. I created the bean in one EJB project.
2. Then created another Enterprise Project in whichEJB projects .jar file is included.
3. Now when i right click "ejb-jar.xml" to create a webservice ,webservice wizard
appears in which Server and WS runtime configuration are set properly.
But it displays following error message on the top : "Select a service Project Type".
If i click on the link on the wizard to select a "service Project type" the drop down for the same comes empty.The value for 'Service Project' is already defaulted
as "Webservice Project ".If i go to windows->preferrences->Webservcies->ProjectTopology i found two entries in the service project type list :
1.Dynamic Web project
2.SAP Web Project
But there is no entry for Webservice Type project.Can any one help me out
how to solve this issue ?
Thanks and Regards
AshisHi
<a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-i 1</a>
<a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-ii 2</a>
Regards
Abhijith Ys -
How to create Document / Literal WSDL with axis 1.3
Dear All,
1. How to create Document / Literal WSDL from java interface ?? or how to create Java 2 WSDL using Document/ Literal.
2. from document/literal WSDL to java classes(stub, skelton, serivces).
I am using Axis 1.3 , tomcat-5.5.20 and eclipse.
Please provide the command and arguments for java2wsdl and wsdl2java for doc/lit.
is there any tool that help to generate java2wsdl and wsdl2java for doc/lit.That would be the <web-service> element in the web-services.xml file, of course.
"Michael Wooten" <[email protected]> wrote:
>
Hi Rich,
Try adding a style="document" attribute to the starting <web-service>
element.
The might be a way to get <servicegen> to do this for you, but I haven't
found
it yet :-)
Regards,
Mike Wooten
"Rich Muth" <[email protected]> wrote:
How do you create document/literal web services with WLS7 ( not workshop)
- Is it possible with servicegen and stateless EJBs as the backend component?
The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
to make it document/literal
- Is it possible with the JMS-implemented web services - have not tried
this yet
- Is there another mechanism? -
Hi,
I have a WSDL from which I would like to generate a web service , based on EJBs.
I am aware of the way Java classes and EJBs are exposed as web services but would like to know if it is other way possible. i.e. I have the WSDL with me and would like to create a web service project from it using NWDS and deploy on WebAS J2EE engine.
Regards,
AmolHai,
Create a new project of type web services under that select deployable proxy.
right click on the project new client proxy definition for the web service .
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/frameset.htm
regards,
null -
Create EJB from WSDL in glassfish
Hello,
I've problem with Glassfish - wstools. I want to generate EJB3 frame from wsdl file, but I can't use AXIS. I know how to generate client stubs (use wsimport), but is possible to generate EJB files from wsdl like this? Could You show me any tutorial?
KoziołekHi,
I was also searching for such a functionality. It seems that there is really no solution provided by JCAPS. Does anybody know if future versions will support this in my opinion basic functionality for a SOA Suite?
A work around would be to use other IDEs to create a Java Web Service and than use this web service inside JCAPS.
This also solves the problem, that a JCD can only implement one operation.
For example the Sun Enterprise Studio can import a WSDL and creates the corresponding java classes.
Best Regards
Fabian Meier
Maybe you are looking for
-
Missing partitions after running Recovery from previous System Image Backup in Windows 8.1
After running Recovery from a recent Sytem Image Backup the LRS_ESP partition is now missing and the Used space on the PBR_DRV partition is reported as 95.20MB while it previously reported 9.52GB in use. The WINRE_DRV, SYSTEM_DRV, Windows8_OS and D:
-
Problem with layout and changing content
Hi, I`m new to Swing and I have a problem with layout. I want to make a menu using JButtons so that depending on which button you click you`ll get different content in the window. And first of all I don`t know how to center the buttons. I have a JFra
-
HT3775 how to use flash in safari?
I have a new iMac and I just downloaded a Youtube video. I want to view it without Adobe's flash. Quicktimes can't open it and takes me to a support page where it shows support for many formats but no flash. What do I do, other than return the Mac an
-
Hi , Im using TimesTen Release 7.0.4.3.0 Following is my sysodbc.ini entry ===================== [DG_222221] Driver=/opt/TimesTen/kodiak/lib/libtten.so DataStore=/DG/Datastore/DG_222221 PermSize=200 TempSize=50 DurableCommits=0 AutoCreate=0 OverWrite
-
Lightroom has lost all my keywords!!!
Let me start by saying that Adobe has the most irritating customer support I have EVER dealt with... way to not have an email or phone number anywhere for your paying customers Adobe. and if there is a line/email way to hide it so effeciently it can