on 07-09-2009 7:58 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
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.
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
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.