on 09-06-2013 5:09 PM
Hi
We have a synchronous Proxy to SOAP scenario. I'm using the wsdl sent by our vendor. It seems to be working when I use SOPAUI. But when I send a message from PI, it fails in the vendor's system.
When I import the wsdl into SOAPUI, the wsdl looking like this-
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="http://DefaultNamespace">
<soapenv:Header/>
<soapenv:Body>
<def:updateStyleNumber soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
&lt;Product name=&quot;FOSMBAG203&quot; revision=&quot;Fall 2013&quot; type=&quot;Bag&quot; StyleNumber=&quot;ABC12345&quot;/&gt;
</in0>
</def:updateStyleNumber>
</soapenv:Body>
</soapenv:Envelope>
But when you look at the soap message from PI, it has the operation missing.
<SOAP:Envelope
xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP:Header/>
<SOAP:Body>
<ns0:in0
xmlns:ns0='http://DefaultNamespace'>
&lt;Product name=&quot;FOSMBAG203&quot; revision=&quot;Fall 2013&quot; type=&quot;Bag&quot; StyleNumber=&quot;ABC12345&quot;/&gt;
</ns0:in0>
</SOAP:Body>
</SOAP:Envelope>
I have highlighted the missing line in blue. I'm not sure how to resolve this. Any suggestions would be greatly appreciated.
Thanks
Hi All
Thanks for your suggestions. I changed the messages to RPC & it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The wsdl I have is RPC encoded. Could that be the issue? Is there something extra I need to do with this format?
Removing SOAP envelope or using SOAP action does not help.
thanks
Rachana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rachana,
Few hints:
Are you using the option Do not use SOAP envelope in adapter.
Are you using the SOAP action option in the adapter.
You need to check the output generated out of mapping and then the adapter and see where the gaps are. Try and plug the gaps one by one. First sort out the envelope and then SOAP action...
Hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
couple of suggestions:
Your reply does not give whole lot information to diagnose.
Please show your inbound service interface.
1) First import the wsdl as external defintiion in your namespace.
2) Then use it as external message type in the inbound service interface.
3) Then do message mapping.
4) Plus check in the operation mapping you see message structure and can do some small test over there.
5) Also make sure you entered soap receiver channel valid target url and if you have action then action values. If not just leave blank in action field. Hope this helps
Also search scn for the soap receiver scenarios. That would help for sure. Simply testing using soapui would help only connectivity and ping test for the web service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Rachana,
have you imported the wsdl as external definition for the receiver side?. Try to check the mapping in the message mapping or the operation mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rachana,
What is the error message in vendor's system?
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Hari
It basically says "no such operation as in0".
It should really be "updateStyleNumber"
Here's the actual error message
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">
ns1:Client
</faultcode>
<faultstring>
No such operation 'in0'
</faultstring>
<detail>
<ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">
uusrcdpla00
</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.