I am receiving a soap message(XML) and after adding a new XML element i have to send it further to another service. Is it possible to add the element by using XSLT 2.0. If so then how?
Input Message
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://ift.tt/sVJIaE">
<soapenv:Body>
<tns:GLBookingMessage xmlns:tns="http://ift.tt/1tLgsPS">
<tns:GLBooking>
</tns:GLBooking>
</tns:GLBookingMessage>
</soapenv:Body>
</soapenv:Envelope>
Required Output Message:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://ift.tt/sVJIaE">
<soapenv:Body>
<tns:GLBookingMessage xmlns:tns="http://ift.tt/1tLgsPS">
<CHeader>
</CHeader>
<tns:GLBooking>
</tns:GLBooking>
</tns:GLBookingMessage>
</soapenv:Body>
</soapenv:Envelope>
No comments:
Post a Comment