cancel
Showing results for 
Search instead for 
Did you mean: 

webservice secuirty in SOAP receiver channel in PI 7.1

Former Member
0 Kudos

One of my vendor published a web service which I imported in PI , but he expcets PI to send webservice secuirty with usertoken, so that they can authenticate & authorize.

How can we implement webservice secuirty with usertoken & password in PI 7.1 on SOAP receiver channel.

Please let me know your thoughts.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

For using UsernameToken we need to enable the Axis Framework in PI7.1

Note: 1039369 explains all the details.

Refer the following thread wherein I have described all the parameters:

Link: [;

Pravesh.

Answers (2)

Answers (2)

former_member192375
Participant
0 Kudos

Vamsi,

Did you find the solution to the problem? I am sitting with the same error.

Your assistance in this regard is much appreciated.

Regards

Willie

Former Member
0 Kudos

Yes what Pravesh & Satish said are correct.

Former Member
0 Kudos

Hey

>>but he expcets PI to send webservice secuirty with usertoken

what exactly you mean by user token?

do you mean security certificates or just a user ID and password to access webservice?

Please explain in detail

Thanks

Aamir

Former Member
0 Kudos

I mean while message is going out from XI it should pass username & password as a part of SOAP Header. like below

which I beleive we can call it is as web service security with usertoken

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >

<SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" >

<wsse:Security soapenv:mustUnderstand="1" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >

<wsse:UsernameToken>

<wsse:Username>abcd1234</wsse:Username>

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

</wsse:UsernameToken>

</wsse:Security>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

Former Member
0 Kudos

I have tested the web service using XMLSpy and I need to specify the WSS-Password Type to works correctly. how to specify it in XI.

Former Member
0 Kudos

I have configured receiver channel using WS adapter, given all mandatory fields like server name, port,URL

in receiver agreement i have username & password.

when i send a message, an error in XI (moni)

Error while determining logical port Cannot find logical port for agreement 416C3588BB8135448E2987CCD6DE14D6 and interface urn:abcd.msgIF_sdfg_I_Async

Any configuration chnage needed at Basis side?

Please let me know your thoughts.

Former Member
0 Kudos

Please let me know your thoughts

Edited by: Vamsi on Jul 10, 2009 8:06 PM

Former Member
0 Kudos

Hey

I m not really sure about the exact solution to your problem but it looks like XI is unable to connect via WS adapter

As far as i can remember,WS adapter runs on ABAP stack hence you will see any connection issue in sxmb_moni.

Could you please check the port you have specified in receiver communication channel.

also please check user ID and password used in WS adapter

Thanks

Aamir