Hi All,
I have a scenario where from Outbound proxy(Synchronous) data is sent to Webservice( external system- Synchronous- Receiver SOAP Adapter).
Can anyone please suggest how to remove SOAP enevelope from response message. When data is sent from SAP to WB theres no issue, when I receive details message back from WB SOAP enevelope tags are seen, due to this I am unable to generate details response in mapping.
In receiver SOAP Adapter I have tried DO Not Use SOAP Envelope Option also, with no luck..
Please find tags generated for SOAP enevelope-->
<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>
- <rpc:CfolderInterfaceResponse xmlns:rpc="http://siebel.com/CustomUI">
- <opOpportunityIO>
- <ListOfHwSiebelCfolderInterface xmlns="http://www.siebel.com/xml/HW%20Siebel%20Cfolder%20Interface">
- <Opportunity>
<X1> />
<X2> />
<X3> />
</Opportunity>
</ListOfHwSiebelCfolderInterface>
</opOpportunityIO>
</rpc:CfolderInterfaceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I have tried XSLT mapping as below with no luck-->
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<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>
<xsl:copy-of select="CfolderInterfaceResponse/*"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
</xsl:template>
</xsl:stylesheet>
Expected output xml-->
<?xml version="1.0" encoding="UTF-8"?>
<ns0:CfolderInterfaceResponse xmlns:ns0="http://siebel.com/CustomUI">
<opOpportunityIO>
<ns1:ListOfHwSiebelCfolderInterface xmlns:ns1="http://www.siebel.com/xml/HW%20Siebel%20Cfolder%20Interface">
<ns1:Opportunity>
<ns1:X1/>
<ns2:X2/>
<ns3:X3/>
</ns1:Opportunity>
</ns1:ListOfHwSiebelCfolderInterface>
</opOpportunityIO>
</ns0:CfolderInterfaceResponse>
Regards
Mahesh