Skip to Content

Receiver web service call with userToken in SOAP header

Hello All,

I have a requirement to call third party web service and use userToken and password in soap header(Idoc-->PI-->Web Service).

When i import the provided wsdl file in to PI under external definitions i have the structure like below(Screen)

1) They asked us to convert Idoc xml to a binary base64 and send to field name called "argBytConteudo" which is not there in wsdl structure.

2) Also they asked us to send additional parameters like system date/Time & some fixed constant values. Their received dataset parameters should be below format.

I am confused how to use a field name called "argBytConteudo" which is not part of the wsdl structure.And also how to pass these additional parameters through soap adapter & how to pass userToken/password in the soap header.

Thanks

wsdl structure.JPG (52.0 kB)
parameters.JPG (59.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 27, 2016 at 04:38 PM

    1. You see these filed missing because you have not imported the external XSD in your screenshot you can see the red color , so you need to import this xsd .ask the web-service guy's and you will see that field. OR how about putting the target URL in browser and downloading the WSDL file try this.

    2.Once you import the other CSD you will see other fields.

    To pass userToken/Password in soap heade ryou may use AddSoapHeaderBean/JAVA/XSLT mapping you will find a lot in scn for this.

    Br,

    Manoj

    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.