cancel
Showing results for 
Search instead for 
Did you mean: 

Problem due to Namespace in XML

Former Member
0 Kudos

Hi,

From XI (Outbound proxy from R/3), using an XML package I am calling a webservice of a 3rd party system to create a contract. The webservice is failing. The 3rd party system is saying that it is failing becuase of the additonal lines in XML (like namespace details and hypens in the XML). Please see the below XML message that is displayed in Payload in SXMB_MONI.

<?xml version="1.0" encoding="UTF-8" ?>

<b>-</b> <<b>ns0:MT_SM_Contract xmlns:ns0="http://test.com/xi/sm"></b>

<b>-</b> <CONTRACTS>

<b>-</b> <Control>

<createdWhen>2006-06-09T06:09:52</createdWhen>

<destinationAddress />

<documentGUID>495f31bc-9f99-4e56-9db7-ce5dc7095785</documentGUID>

<operation staticValue="Change" />

<schemaVersion>31N</schemaVersion>

<sourceAddress>Global</sourceAddress>

<version>3.00</version>

</Control>

Is it possible to remove the namespace details and Hypens in XI before calling the Webservice.

Thanks

Sri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kumar,

While defining MT, delete the name space that is automatically read in XML NameSpace field.

Go to Q no 12 in the following link:

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

-Naveen.

Answers (0)