on 07-31-2012 8:18 AM
Hi Experts,
There is requirement where input data taken as a "xml string" needs to be parsed in PI and the generated parameters are to be mapped to the parameters of RFC.
At the input side of mapping we have a single parameter containing xml string that is coming from SOAP sender and at the outboud side we want the parsed i.e. separated fields that can be passed in the RFC import parameters, so that the Purchase order can be generated in SAP.
Technically : Wants it to be a SOAP to RFC scenario
Attached is the xml data that is being passed as a string in the webservice by the client.(SOAP Sender)
Please suugest solution of the problem .
Thanks.
You basically need to do parsing the xml string using java mapping. If you are looking for a standard example for coding please look at this example. Here the xml string is declared inside the method but in your case read the inputstream and parse the desired tag elements from this.
http://www.java2s.com/Code/Java/XML/ParseanXMLstringUsingDOMandaStringReader.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.