on 11-09-2015 1:44 PM
Hi Group,
I am using soap received adapter to send request to third party system, I copied WSDL from URL and mapped my source data to WSDL , but I am getting soap response error, when I compated soapUI and Payload there are some difference I found and I suspect because of this my interface failing, can any body suggest how I can fix:
SOAPUI Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:urn:emp-org:xi">
<soapenv:Header/>
<soapenv:Body>
<urn:emp>
<urn:AddressLine1>?</urn:AddressLine1>
<urn:AddressLine2>?</urn:AddressLine2>
<urn:Town>?</urn:Town>
</urn:emp>
</soapenv:Body>
</soapenv:Envelope>
PO Payload
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:emp xmlns:ns0="urn:emp-org:xi">
<ns0:AddressLine1> STREET1</ns0:AddressLine1>
<ns0:AddressLine2>12</ns0:AddressLine2>
<ns0:Town>BRMK</ns0:Town>
</ns0:emp>
Hello Rajiv,
You mapped this source strucuture to WSDL right?in that case it should be fine.
What you have done for the response?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In soap UI I copied by payload with using soap envelop I got the below Error:
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:urn:emp-org:xi">
<soapenv:Header/>
<soapenv:Body
<ns0:emp xmlns:ns0="urn:emp-org:xi">
<ns0:AddressLine1> STREET1</ns0:AddressLine1>
<ns0:AddressLine2>12</ns0:AddressLine2>
<ns0:Town>BRMK</ns0:Town>
</ns0:emp>
>
</soapenv:Body>
</soapenv:Envelope>
Error in Response(SoapUI):
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>An error was detected while executing the Web Service request. (10893)</faultstring>
<detail>
<ns1:FaultDetail xmlns:ns1="urn:soap-fault:details">
<errorMessage>Web Service application not found: urn:emp-org:xi (10858)</errorMessage>
<requestID>2272324dad04b145:3969e2f4:150dc341ea9:-7fff#53</requestID>
</ns1:FaultDetail>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Hi Rajiv,
Could you tell us what exception is?
Your payload is right. It is indifferent where the namespace is defined. You only need to consider that all the tags are affected in the same way for the namespace.
You can do a little change, only for test purpose, in PI. Create a XSLT, the XSLT can be your exact example from SOAPui. Later mark don not use SOAP envelope in your receiver SOAP adapter.
In this way you can test from PI the exact example that SOAPui and to check if the error raises in PI or not.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.