cancel
Showing results for 
Search instead for 
Did you mean: 

plain http payload xml format

Former Member
0 Kudos

Hi,

Can anyone point me to any documentation/example on the xml layout for the payload. I am using the plain http send to XI and I need to know how to put the data into the right xml format. Thanks..

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for the advices. It is working fine....

Former Member
0 Kudos

Hi Shilton,

As said already you can get the payload from the "src" of the test tab. But you have to be careful while creating it as a payload. Usually we create the payload as string. And also the XML needs the " compulsorily. for example in <?xml version=<b>"</b>1.0<b>"</b>.

while creating the string be careful and use '\' character before these quotes.

something like this.

var payload = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:input_mt xmlns:ns0=\"http://com.somenamespace\">

<val>000000000000001135</val>

</ns0:input_mt>";

hope this helps.

regards

venkat

former_member181955
Contributor
0 Kudos

Hi Shilton,

You can take SRC file from IR While testing message mapping.That is in the proper format of xml ..

You can use this as payload..

Hope it helps you else please let me know..

thanks

N.Prasad Babu

iGATE Global Solutions Hyderabad :98490 65977