on 06-13-2006 2:01 AM
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)
<PutXMLDocument xmlns="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
Try this excellent blog for u to trace the error and check the blog provided by krishna after knowing the error..!
/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kumar,
<i>
When I call the a 3rd party webservice from XI using SOAP protocol with XML data packet I am getting an error.</i>
>>What is the error?
-check the target URL mentioned in the SOAP receiver Adapter congifuation.
It should be wsdl URL.
Have a look into this~
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.