Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Mapping issue..

$
0
0

As per requirement ,I have done some changes to response mapping which is coming from 3rd party (SOAP) by using XSLT mapping.Now i need to add URL to root node of the Response mapping by using XSLT mapping .

 

for above requirement : i have tried below code but it's not success

 

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

 

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

 

 

    <!-- This XLST extracts the authorities' web service response into the expected proxy structure. -->

       <!--    <xsl:variable name="test" select="local-name(//*[local-name()='Body']/*[1])"/>  -->

  

        <xsl:template match="*">

 

 

<ns0:InResponse xmlns:ns0="http://sankar.com/xi/isankar/SD">

 

                        <xsl:element name="{local-name()}">

              

             <!--       <xsl:copy copy-namespaces="no">     -->

                    <xsl:apply-templates select="@*|node()" />

             <!--      </xsl:copy>  -->

                        </xsl:element>

               

              

</ns0:InResponse>

 

</xsl:template>

 

 

          

 

</xsl:stylesheet>

 

 

 

 

 

 

Could you pls share related links or give me some approaches to resolve the issue?

 

Thanks,

Sankar


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>