cancel
Showing results for 
Search instead for 
Did you mean: 

webservice authentication failure

Former Member

Hi

I have a webservice which need a userid and pwd for authentication purpose. I have configured these credential information in my communication channel. But my webservice team claims this authentication information is not available at http header (they are capturing the message that is going to webservice from XI throguh some java test tool)and that's why XI is unable to communicate with the webservice. Could you plz tell me how to send the authentication information in the header ??

thanks

kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

if you are sending the request to the WEb Service the you can hard code the user name and the password in the SOAP Envelope and other way is when you send the rwequest to the server then it will ask automatically for the user name ansd tha password.

you can send the SOAP request using the XML spy tool.

if you still face the problem please reply back.

Thanks

Rinku

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kumar,

Try to pass the User ID and Password in the URL( the URL which is given to the webservice).

Example: http://sap-ag.com:8088/sap/xi/adapter_plain?service=xxxx&namespace=xxxxx&interface=xxxx&sap-user=xxx...

Regards

B.Dheepa

Former Member
0 Kudos

Hi Palanti,

There are some information missing in your query. first which adapter are you using? Sender or receiver SOAP adapter? As you might be knowing, SOAP adapter is imperative for web services.

If you are using a receiver SOAP adapter, then the user credentials can be entered while configuring the adapter itself.

But, if you are using a sender SOAP adapter then you need to specify, which conversion parameters you are using?

please elaborate your query for better help.

Thanks,

Varun

Former Member
0 Kudos

Hi

I am using the receiver SOAP Adapter and I have configured the user credentials in the communication channel only. But still my SOAP Adapter is not sending the credential information to the webservice.

thanks

kumar

Former Member
0 Kudos

Hi kumar,

You could try to to use the proxy configuration URL and setup the user name & password for it in SOAP receiver CC.

Also refer below link with paragraph

"Configuring a Helper Class for Receiver Processing"

http://help.sap.com/saphelp_nw04/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/frameset.htm

thanks

Swarup

Edited by: Swarup Sawant on Feb 11, 2008 3:26 PM