on 08-01-2006 5:39 PM
Hi All,
I am working on IDOC->XI->Web-method scenatio.
Web-method team has given me attached WSDL. this WSDL is not showing any message in Message Tab while uploading WSDL in External Definations Tab in IR.
Is it possible to send data to this type of Web-method with receiver SOAP Adapter?
Because in /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2 weblog we can see messages in message tab while uploading message.
Please help.
Regards
**********WSDL***********************
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="GE_OC_SalesOrder_Source_Services" targetNamespace="http://3.209.120.84/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://3.209.120.84/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://localhost/GE_OC_SalesOrder_Source/Services/publishSalesOrderCanonical" xmlns:tns="http://localhost/GE_OC_SalesOrder_Source/Services/publishSalesOrderCanonical">
<xsd:complexType name="__publishSalesOrderCanonicalInput">
<xsd:sequence>
<xsd:element name="_x0078_mlString" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="__publishSalesOrderCanonicalOutput">
<xsd:sequence>
<xsd:element name="status" nillable="true" type="xsd:string"/>
<xsd:element name="status_message" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="publishSalesOrderCanonicalInput">
<wsdl:part name="_x0078_mlString" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="publishSalesOrderCanonicalOutput">
<wsdl:part name="status" type="xsd:string"/>
<wsdl:part name="status_message" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="GE_OC_SalesOrder_Source_ServicesPortType">
<wsdl:operation name="publishSalesOrderCanonical">
<wsdl:input message="tns:publishSalesOrderCanonicalInput"/>
<wsdl:output message="tns:publishSalesOrderCanonicalOutput"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GE_OC_SalesOrder_Source_ServicesBinding" type="tns:GE_OC_SalesOrder_Source_ServicesPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="publishSalesOrderCanonical">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://3.209.120.84/GE_OC_SalesOrder_Source.Services" use="encoded"/>
</wsdl:input>
<wsdl:output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://3.209.120.84/GE_OC_SalesOrder_Source.Services" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GE_OC_SalesOrder_Source_ServicesService">
<wsdl:port name="GE_OC_SalesOrder_Source_ServicesPort0" binding="tns:GE_OC_SalesOrder_Source_ServicesBinding">
<soap:address location="http://3.209.120.84:5555/soap/rpc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I am working on IDOC->XI->Web-method scenatio.
> Web-method team has given me attached WSDL. this WSDL
> is not showing any message in Message Tab while
> uploading WSDL in External Definations Tab in IR.
For me it works. It shows the messages publishSalesOrderCanonicalInput and publishSalesOrderCanonicalOutput under the tab 'Messages'.
While uploading, did you specify Category 'wsdl' and Messages 'From All Available Message Definitions'?
Look into this document to see, how to create an interface
out of the WSDL:
https://websmp207.sap-ag.de/~sapdownload/011000358700002953992006E/HowToUseSOAPAdapter.pdf
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
I am testing Sending message
In SXMB_MONI I am getting Processed successfully status flag
But in message monitoring I am getting error in last step."SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault"
Also Web-Service log giving following error:
SOAPException: [ISS.0088.9122] Service http://ge-energy-xi.com/StoreFront_SOOB:publishSalesOrderCanonicalInput does not exist
Can you or any one please help what the difficulty we are facing in sending SOAP message to Web-servive.
Thanks & Regards
Hi Rohan,
Now I see, the your WSDL definition is RPC style. I did not realize it earlier.
When you upload in WSDL with rpc style, you need to have SP 16:
http://help.sap.com/saphelp_nw04/helpdata/en/43/ce49ef1019087ae10000000a1553f6/frameset.htm
Check the output of the SOAP adapter and compare with the output of a web service toll (like XML spy). You might need to add a mapping to get the correct output.
Check note 856597 for details. Here you find a HTTP trace tool.
Regards
Stefan
Hi Stefan,
Thanks for reply. You are true WSDL is RPC style.
But if you Observe My WebService WSDL following lines
<wsdl:message name="publishSalesOrderCanonicalInput">
<wsdl:part name="_x0078_mlString" type="xsd:string"/>
</wsdl:message>
<b>There is only one part(field) but we wants to send 50 field XML.</b>
If you see Note:856597 & attached WSDL in Note getQuote_rpc.wsdl following lines
<message name="GetTradePriceInput">
<part name="tickerSymbol" type="xsd:string"/>
<part name="time" type="xsd:dateTime"/>
</message>
<b>There are two part(fields) for two XML fields as in Note.</b>
Is it possible to Pass XML message in this type of web-service?
If possible then How can I send?
Please help....
Best Regards
Rohan,
Import the External Definition as a WSDL under External Definitions and activate the same.
Next, while creating the message type if you try to drag and drop the XSD, it will not let you drag and drop. Instead, in the message type, use the SELECT option , in your Message Type and hen select the XSD. do not try a drag and drop , use the Selection option.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.