Hi All,
I have to add namespace in below xml tag:-
Actual xml:-
<sendData>
<MicInterfaceRequest>
<Connection>
<connectionID>MICWebService</connectionID>
<partnerID>MICTest</partnerID>
<dateTime>2014-02-12T20:00:00.123Z</dateTime>
</Connection>
</MicInterfaceRequest>
Required xml:-
<MicInterfaceRequest xmlns="urn:http://www.mic-cust.com/Webservice/MicInterface/v1.0">
<Connection>
<connectionID>MICWebService</connectionID>
<partnerID>MICTest</partnerID>
<dateTime>2014-02-12T20:00:00.123Z</dateTime>
</Connection>
</MicInterfaceRequest>
Please help how to achieve this using xslt mapping
Regards
Mahesh
Request clarification before answering.
Hello Mahesh,
Try adding the XML namespace in the Message type.
And for XSLT check the below link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sritharan,
link you have given is used and its creating node as below :-
e.g.
<MicInterfaceRequest xmlns="urn:http://www.mic-cust.com/Webservice/MicInterface/v1.0">
<MicInterfaceRequest>
<Connection>
<connectionID>MICWebService</connectionID>
<partnerID>MICTest</partnerID>
<dateTime>2014-02-12T20:00:00.123Z</dateTime>
</Connection>
</MicInterfaceRequest>
which is not expected.
Refer the below link
XML Namespaces - Enterprise Services Repository - SAP Library
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.