on 06-03-2010 1:59 PM
Hi,
We have a scenario whereby we are performing a HTTP post to a service. The problem is that the service expects a raw/plain text body. So we need to remove the XML and just out put the content of one field.
I know that it is possible to do this using XSLT however unfortunately the string that I want to output contains special characters and hence the XSLT falls over everytime it is executed with some of those characters included in the payload.
I am getting the feeling that the only way that this is going to be possible will be via a Java mapping. I have done a little research but have thus far found little to help.
Could someone maybe provide some pointers on how this would be possible using a java mapping. To output nothing but plain/raw data?
Thanks
Hi,
Is there anyone out there that can provide an example of how you would output a non-xml stream in a java mapping? So to take the input stream, extract the content from one of the elements and write it to the output stream as a plain text?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the below blog. This will give you an idea.
https://weblogs.sdn.sap.com/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
Also check the below article.
Hope this helps!
~Vaas
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.