Hi Experts,
Scenario : SOAP -> XI -> RFC
Source side : One message
Target side : Two RFCs
Depends on..one of the source field value I have to trigger the particular RFC.
IR Objects
-
1. Interface mapping - 1
Source message interface occurance - 1
Target RFCs 0 to Unbounded occurance
Mapping
1. XSLT Step1 - Source rootnode contains namespace. To remove that I have used the XSLT mapping.
CODE:
<?xml version="1.0" encoding="UTF-8"?>
<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="*">
<xsl:element name="{local-name()}">
<xsl:apply-templates select="@* | node()"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
2. XSLT Step2 - To add the Message tags in the starting for multimapping.
<?xml version="1.0" encoding="UTF-8"?> <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="/"> <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"> <ns0:Message1> <xsl:apply-templates/> </ns0:Message1> </ns0:Messages> </xsl:template> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>
3. Graphical - Multimapping
ID objects
-
Interface determination - Selected the option enhanced. remaining all similar to normal interface.
Able to get the required results from MM and IM testing, but not from ID Test Configuration and runtime workbench.
(For IM testing : I have used the acutal payload)
Getting the below error from runtime workbench.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">GENERIC</SAP:Code>
<SAP:P1>Split mapping created no messages</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Split mapping created no messages</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please tell me how to resolve the issue.
Edited by: Sundari David on Nov 29, 2011 11:52 AM