on 06-09-2014 2:52 AM
Hi Experts,
I have one soap synchronous scenario access to third party WEBSERVICE,Return error.While testing the wsdl in soap ui, I am getting response, messages showing successfully processed. I think it is pi to send xmlns:ns1='http://tempuri.org/' on both sides should not be a single quotation mark, but I don't know how to adjust PI set. how do you see.
1、SOAP UI submitted to Webserver XML
[2014-05-26 08:47:24.662] --- Recv data from SocketId=272 Socket=10880
POST /MWGate/wmgw.asmx HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://tempuri.org/MongateCsSpSendSmsNew"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 10.0.0.253:8082
Content-Length: 520
<soapen:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapen:Header />
<soapen:Body>
<tem:MongateCsSpSendSmsNew>
<tem:userId>DOA001</tem:userId>
<tem:password>dennis</tem:password>
<tem:pszMobis>1313773654</tem:pszMobis>
<tem:pszMsg>1111</tem:pszMsg>
<tem:iMobiCount>1</tem:iMobiCount>
<tem:pszSubPort>*</tem:pszSubPort>
</tem:MongateCsSpSendSmsNew>
</soapen:Body>
</soapen:Envelope>
2、PI submitted to Webserver XML
[2014-05-26 08:36:08.725] --- Recv data from SocketId=271 Socket=10704
POST /MWGate/wmgw.asmx HTTP/1.0
Accept: */*
Host: 10.0.0.253:8082
User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
CallingType: SA
content-id: <soap-005056884B9B1EE3B98DB6E0A69FAB13@sap.com>
Content-Type: text/xml; charset=utf-8
Content-Length: 417
SOAPACTION: "http://tempuri.org/MongateCsSpSendSmsNew"
<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP:Header />
<SOAP:Body>
<ns1:MongateCsSpSendSmsNew xmlns:ns1='http://tempuri.org/'>
<ns1:userId>DOA001</ns1:userId>
<ns1:password>dennis</ns1:password>
<ns1:pszMobis>13637731567</ns1:pszMobis>
<ns1:pszMsg>Constant</ns1:pszMsg>
<ns1:iMobiCount>1</ns1:iMobiCount>
<ns1:pszSubPort>*</ns1:pszSubPort>
</ns1:MongateCsSpSendSmsNew>
</SOAP:Body>
</SOAP:Envelope>
3、SXI_MONITOR Payloads content:
<ns1:MongateCsSpSendSmsNew xmlns:ns1="http://tempuri.org/">
<ns1:userId>DOA001</ns1:userId>
<ns1:password>dennis</ns1:password>
<ns1:pszMobis>13637731567</ns1:pszMobis>
<ns1:pszMsg>Constant</ns1:pszMsg>
<ns1:iMobiCount>1</ns1:iMobiCount>
<ns1:pszSubPort>*</ns1:pszSubPort>
</ns1:MongateCsSpSendSmsNew>
4、PI channel
Hi Nathan,
In the field pszMsg, for the SOAPUI test you are passing 1111 but in the XI test it is Constant. Maybe the webservice expects an integer but you are passing characters, hence the error.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nathan,
Please copy paste the trace details here so that the error can be looked into
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nathan,
Please provide the error you are facing.
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nathan,
Have you tried the SOAP HTTP Axis function.
https://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/content.htm
Configuring the Receiver Axis SOAP Adapter (SAP Library - SAP Exchange Infrastructure)
Regards,
Jannus Botha
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.