Skip to Content
0
Former Member
Jun 13, 2006 at 01:01 AM

Problem calling Webservice using SOAP Protocol

19 Views

Hi ,

When I call the a 3rd party webservice from XI using SOAP protocol with XML data packet I am getting an error.

But when I call the same webservice using another 3rd party SOAP client, it is working fine. The only difference between XI and 3rd party is that XML has some more tags. Please see both the XML files and let me know If need to do anything more in XI to make it work.

The Webservice has a input parameter and output parameter to pass the status.

XI - XML Data Packet

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

<Contracts>

<Control>

<createdWhen>2006-06-12T10:48:55</createdWhen>

<destinationAddress />

<documentGUID>e1a2556f-86dc-400b-9304-1c393ad961de</documentGUID>

<operation staticValue="Change" />

<schemaVersion>31N</schemaVersion>

<sourceAddress>Global</sourceAddress>

<version>3.00</version>

</Control>

<Contract>

<contractAmount>2050.00</contractAmount>

<contractBillingType staticValue="Per Contract" />

<contractCurrency staticValue="United Kingdom - Pound" />

<contractDataSource dynamicValue="SAP" />

<contractEffectiveDate>2007-01-01</contractEffectiveDate>

<contractStatus staticValue="Active" />

<Customer>

<customerIdentifier>fe3ccebc-6f64-4849-95d5-0b3b84c204d6</customerIdentifier>

</Customer>

<contractBusinessUnit dynamicValue="UK">

<businessUnitDescription>United Kingdom</businessUnitDescription>

</contractBusinessUnit>

</Contract>

</Contracts>

3rd Party - XML Data Packet (This one works)

http://test.com/SMIWebService/">

<XMLString><?xml version='1.0' encoding='UTF-16' ?>

<Contracts>

<Control>

<createdWhen>2006-06-08T07:03:55</createdWhen>

<destinationAddress></destinationAddress>

<documentGUID>A9A5107B-45A6-43A4-8218-D72C8115C9CB</documentGUID>

<operation staticValue="Change"/>

<schemaVersion>31N</schemaVersion>

<sourceAddress>Global</sourceAddress>

<version>3.00</version>

</Control>

<Contract>

<contractAmount>20500.00</contractAmount>

<contractBillingType staticValue="Per Contract"/>

<contractCurrency staticValue="United Kingdom - Pound"/>

<contractDataSource dynamicValue="SAP"/>

<contractEffectiveDate>2007-01-01</contractEffectiveDate>

<contractStatus staticValue="Active"/>

<Customer>

<customerIdentifier>FE3CCEBC-6F64-4849-95D5-0B3B84C204D6</customerIdentifier>

</Customer>

<contractBusinessUnit dynamicValue="UK">

<businessUnitDescription>United Kingdom</businessUnitDescription>

</contractBusinessUnit>

</Contract>

</Contracts></XMLString>

<ErrorString />

</PutXMLDocument>

Thanks in advance for the help.

Thanks

Sri