on 10-09-2006 11:21 AM
Hi All,
I have a following message in the Payload(which is then sent to a webservice using the "DONT USE SOAP ENVELOPE" option in the Communication Channel so that the payload is not wrapped with the Envelope but sent as it is...)
<n0:HR_GB_EFI_DPSrequestToken xmlns:n0="http://sap.com/xi/HR">
<Logon_Payload>
<SOAP-ENV:Envelope >
</SOAP-ENV:Envelope>
</Logon_Payload>
</n0:HR_GB_EFI_DPSrequestToken>
Now my requirement is that , i need to unwrap the SOAP message from this payload i.e, only the contents within
<Logon_Payload> tag and send it to the Web Service ..i.e, a message like the following (the data present inbetween the <logon_payload> element) should go to the webservice..
<SOAP-ENV:Envelope>
...
</SOAP-ENV:Envelope>
So i have 2 questions here...
1. Is this possible through XSLT mapping
2. Is it possible to clear the Tokens and namespaces present in the above payload in XSLT mappin and then send only the required data ???
Can anyone help me out in this .....
Best Regards,
Chandan
Hi Chandan,
Yes, With XSLT mapping that is possible, See that you are incoming data to the Mapping is not huge if so It will occupy more memory .
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you try this,
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text/xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="HR_GB_EFI_DPSrequestToken:Logon_Payload">
<xsl:copy-of select="child::node()"/>
</xsl:template>
</xsl:stylesheet>
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.