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

XSLT

$
0
0

Hi All,

 

Can someone please help me to parse this using XSLT mapping.

 

I am doing SOAP to RFC scenario. The sender adapter is not able to pick this file.
This is the sample format coming from source

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:http="http:\www.test.com\POC">
   <soapenv:Header>
      <http:XHeader>
         <applicationName></applicationName>
         <correlationId></correlationId>
         <UserInfo>
            <UserType></UserType>
            <Id></Id>
         </UserInfo>
      </http:XHeader>
   </soapenv:Header>
   <soapenv:Body>
      <http:MT_SRC>
         <N1></N1>
         <N2></N2>
      </http:MT_SRC>
   </soapenv:Body>

</soapenv:Envelope>

 

 

In the target after mapping I am passing only N1 and N2. The problem is not able to parse this. Can someone help me with XSLT mapping.

 

Target

 

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

<ns1:ZpiTest xmlns:ns1="urn:sap-com:document:sap:soap:functions:mc-style"><Num1></Num1><Num2></Num2></ns1:ZpiTest>


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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