Skip to Content
avatar image
Former Member

Convert the Input xml to String

Hi Folks,

Currently I'm working on a PROXY to SOAP scenario. The input of the target structure is a string. In this case i have to do such a mapping that i can map my structure to the string. I'm folowoing the below wiki.

https://wiki.sdn.sap.com/wiki/display/XI/JavaMapping-ConverttheInputxmlto+String

But I have 2 problems with this wiki:

1. I don't know how to use this piece of Java Code

2. Here I'm not using any source file, the input will be from the ABAP Proxy directly. So how I can provide the input to it ?

Regards,

Santosh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 25, 2010 at 06:53 AM

    Take the java code and convert it in to JAVA mapping,some changes required as per your source data structure.

    2. Here I'm not using any source file, the input will be from the ABAP Proxy directly. So how I can provide the input to it ?

    but you have created structure(DT,MT ) in IR right,GIVE SOME with SAMPLE VALUES and test JAVA Mapping.

    Regards,

    Raj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Santhosh,

      >How test the java mapping. shall I test it in SXI_MAPPING_TEST .

      By using the java editors or Java tools like NWDS or My Eclipse or ... we can develope the mapping.

      After done the coding, performa the test in that tool and take the ".class" file and zip that file, Later import to the PI server through Imported Archieve and then use this mapping.

      Regards

      Ramesh

  • avatar image
    Former Member
    Jun 08, 2010 at 04:16 PM

    Marking Answered

    Add comment
    10|10000 characters needed characters exceeded