Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3074

Authenticate with TokenUser & Password in SOAP header

$
0
0

Hello,

 

My requirement is to send Idoc information to SOAP receiver system with Tokenuser & password in soap header to authenticate the web service call.

My web service structure is as below when i open wsdl file in soap ui. I am able to get response back when i trigger from soap ui.

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="https://www.xyz.com/WebServices/WebMethods">

   <soapenv:Header>

      <web:ValidationSoapHeader>

         <!--Optional:-->

         <web:TokenUser>?</web:TokenUser>

         <!--Optional:-->

         <web:TokenPassword>?</web:TokenPassword>

      </web:ValidationSoapHeader>

   </soapenv:Header>

   <soapenv:Body>

      <web:SendData>

         <!--Optional:-->

         <web:argBase64>?</web:argBase64>

         <!--Optional:-->

         <web:argStr1>?</web:argStr1>

      </web:SendData>

   </soapenv:Body>

</soapenv:Envelope>

 

I have convert whole IDOC to base64 encode and mapp to argBase64 field in the body. This portion is complete.

 

Regarding TokenUser & Password I am referring to below blog to add soap header information. Could you please let me know what are the parameters should be maintained to add soap envelope as mentioned above  ?

"AddSOAPHeaderBean" module

 

Thanks


Viewing all articles
Browse latest Browse all 3074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>