on 11-15-2012 4:44 PM
Hello Experts ,
Wanted to understand what are different ways I can achieve the below requirement :
1. I have a source XML which I need to pass as a string to a field of .net webservice (asmx) .
What are different ways of achieving it . Any ready to use code which can be modified and used will be highly appreciated .
Regards ,
Nayan
You can use two options
1)Write Java mapping and retunr entire source document as a string.
search in scn for this
2)Very simple approch is map rooot node of source to target field and right click on source node and select return as XML.
This feauture available only from PI 7.1 onwards.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your case java mapping is the solution to go.
Use this wiki that matches exactly your requirement
http://wiki.sdn.sap.com/wiki/display/XI/Java+Mapping-+Convert+the+Input+xml+to+String
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
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.