on 11-19-2014 6:06 AM
Hi All
I am using SOAP adapter to send idoc xml to our partner. I have configured asynchronous scenario with SOAP adapter receiver channel. The partner is successfully receiving IDOC-XML.
The issue is:
IDOC-XML naturally contains idoc type name as first tag but partner wants message name as first tag. For example for message WMMBXY.WMMBID02 partner wants:
<WMMBXY xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
Hi Sunit
You can try adding the following XSLT mapping as a subsequent step in your Operation Mapping.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/ | @* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="schema">
<WMMBXY xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<xsl:apply-templates/>
</WMMBXY>
</xsl:template>
</xsl:stylesheet>
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.