on 01-26-2012 1:08 PM
Hi Experts
Please help me to remove "<?xml version="1.0" encoding="utf-8" ?>" from output xml (XML after message mapping), I need to post the XML message having no header <?xml version="1.0" encoding="utf-8" ?> to target via SOAP.
Regards,
Raghav
Thanks experts for you valuable inputs..
I am closing this thread now.
Thanks
Raghav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi raghav,
Use the below Generic XSLT code from this link,
http://sap-pi7.blogspot.com/2011/03/generic-xslt-code-to-remove-namespaces.html
I have used it. it works.
-santosh.
You can even connect the two: prepare a graphical mapping for the entire structure, and then pass the result to a simple XSLT mapping that will just delete the <?xml... definition. I guess it will be the simplest solution to solve your problem: you will not have to use XSLT for whole mapping (which might be difficult), but still you will be able to avoid the <?xml... tag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm not sure if this is really possible, but you can try setting the "Do Not Use SOAP Envelope" indicator in receiver adapter. Unfortunately, you will have to generate the SOAP Envelope on your own, in the mapping.
Hope you find this useful,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.