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.
Request clarification before answering.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.