Skip to Content
author's profile photo Former Member
Former Member

Problem calling Webservice using SOAP Protocol

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 13, 2006 at 06:56 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2006 at 01:19 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.