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

Problem with the SOAP adapter !

Hi!

We are trying to use a WebServices from XI.

In the WSDL file that we have imported and use'd in

our mapping the information about the soap header look's

like this :

<wsdlsoap:header message="impl:serviceRequest" part="toCountry" use="literal" />

<wsdlsoap:header message="impl:serviceRequest" part="fromCountry" use="literal" />

<wsdlsoap:header message="impl:serviceRequest" part="language" use="literal" />

<wsdlsoap:header message="impl:serviceRequest" part="customerCodeOwner" use="literal" />

<wsdlsoap:header message="impl:serviceRequest" part="customerCode" use="literal" />

<wsdlsoap:header message="impl:serviceRequest" part="userId" use="literal" />

<wsdlsoap:header message="impl:serviceRequest" part="userPassword" use="literal" />

But then the message leave the SOAP adapter

it looks like this:

<SOAP:Header/>

<SOAP:Body>

<nRGDecisionSupportDSCRequest>

<ns2:socialSecurityNumberApplicant>XXXXXXXXXX</ns2:socialSecurityNumberApplicant>

<ns2:conversationCode>X</ns2:conversationCode>

</ns2:criteria>

</nRGDecisionSupportDSCRequest>

<toCountry>XX</toCountry>

<fromCountry>XX</fromCountry>

<language>XX</language>

<customerCodeOwner>SYD9001</customerCodeOwner>

<customerCode>XXXXXXX</customerCode>

<userId>XXXX</userId>

<userPassword>XXXXXX</userPassword>

</ns1:serviceRequest>

</SOAP:Body>

</SOAP:Envelope>

The SOAP header info. is in the body !

Ofcourse the message fails !!

Any ideas ??

//Stig

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2005 at 09:03 PM

    Hi Stig,

    Although specified in the WSDL 1.1 spec, the use of soap:header is quite rare.

    And having a soap header consisting of multiple parts and not referring to single XSDL element is a bit in conflict with the document/literal approach.

    Bottom line: please try and convince your business partner to not use the soap:header trick and stick to standard document/literal web services.

    Kind regards, Guy Cretgs

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2005 at 08:36 AM

    hi, stig

    Is the WSDL file provided by your business partneer,in the other words, by the web service ? pls tell me.

    regards

    Amanda

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2005 at 08:37 AM

    hi,stig

    i am waiting for u online.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2005 at 08:56 AM

    Hi !

    Yes it is !!!

    //Stig

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2005 at 08:23 AM

    Hi Guy!

    Thank's for your answer !

    Regards

    //Stig

    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.