cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello Friends,

I am working on a RFC to webservice sync scenario.Here I am getting response from webservice in soap envelope form which is not matching with my wsdl response structure. I have tried to create the envelope structure manually but i dint get success. Can any body guide me how to over come with it.

(I have already checked 'Do not create soap envelop' in receiver soap addapter).

Regards,

jayesh.

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

I have done the same scenario using XSLT mapping. If you want to remove the soap envelope from the incoming message you could extract the required field value and put it in the required target structure

<?xml version="1.0" encoding="UTF-8" ?>

- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns1="the namespace of your target structure" xmlns:ns0="the namespace of the webservice" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />

- <xsl:template match="/">

- <ns1:message type of your target structure>

- <Required fieldname>

<xsl:value-of select="soap:Envelope/soap:Body/ns0:the node name inside the body structure"/>

</Required fieldname>

</ns1:message type of your target structure*>

</xsl:template>

</xsl:stylesheet>

Former Member
0 Likes

Problem Solved.

I have created xsd and imported in external defination. Instead of wsdl response structure I used this xsd to read response from webservice. Thanks to all.

Regards,

jayesh.

Former Member
0 Likes

Hi Jayesh,

Can you tell me how did it got resolved by creating XSD? am facing similar issue now....how the <soapenv:Envelope & body tags are removed in the response message.