cancel
Showing results for 
Search instead for 
Did you mean: 

passing username token details in SOAP header with out using AXIS

Former Member
0 Kudos

Is it possible to pass WS security - username & password as a part of SOAP Header while consuming a third party webservice from PI 7.1 with out using AXIS adapter.

I have used AXIS in SOAP receiver channel and successfully passed the User name and password in SOAP Header. I heard that we can pass the same in without using AXIS. I went through SAP documentation, still it is not clear.

[http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/6bc1a021e80dece10000000a11466f/frameset.htm|http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/6bc1a021e80dece10000000a11466f/frameset.htm]

Iam looking to pass

<soapenv:Header>

<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"

soapenv:mustUnderstand="1">

<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

wsu:Id="UsernameToken-21280292">

<wsse:Username>test</wsse:Username>

<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest" Zzqxojj3iKMfki45et4ZWqrAupQ=</wsse:Password>

<wsse:Nonce>b6QiDyhP3Ds9z24NMI0r6w==</wsse:Nonce>

<wsu:Created>2007-01-04T16:57:48.625Z</wsu:Created>

</wsse:UsernameToken>

</wsse:Security>

</soapenv:Header>

Please let me know your thoughts

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

I heard that we can pass the same in without using AXIS

Not sure. Have you heard this with Soap adapter only? May be using WS adapter could help.

Regards,

Prateek

Former Member
0 Kudos

Yes I was trying with SOAP adapter in receiver channel without using AXIS.

As far as I know we can use WS adapter to communicate to SAP R3 system. Iam not sure if WS adapter can be used to communicate with third party system.

Any suggestions are helpful.

Former Member
0 Kudos

Hi, Vamsi !

Yes, you can insert this token in header without AXIS. Use XSLT-mapping to create any Envelope you need, with soap:Header, soap:Body. In channel you had to check "Do Not Use SOAP Envelope", and your created message goes to channel as is.

Regards.

Former Member
0 Kudos

Russov

Can you please explain in details plz..

Former Member
0 Kudos

Hi,

could you please explain how to configure the user token in soap receiver adapter.

Currently iam using sap pi 7.0 and service pack 11.

thanks.