cancel
Showing results for 
Search instead for 
Did you mean: 

XI - SOAP Web Service Authentication

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello everyone,

We have exposed as a web service an RFC via XI.

When invoked user athentication is required.

We have included the auth credentials in the .net client code (C#).

What i would like to know is there is another way to include username and password instead of the code (possibly in URL ?).

Turning off the authentication is not an option.

Thanks in advance

Dimitris

Accepted Solutions (0)

Answers (3)

Answers (3)

dhagigeorgiou
Product and Topic Expert
Product and Topic Expert
0 Kudos

What we finally did is make the web service (.net) authenticate itself to the xi server.

Thank you all for you input.

Dimitris

bhavesh_kantilal
Active Contributor
0 Kudos

Dimtris,

If your WSDL url is pointing to the URL of the Adapter Engine as shownin the Hot to Use the SOAP adapter there is no option. You cannot add it to the SOAP Url.

But, if you change the SOAP Url to the Url shown in this blog by Stefan Grube then you can add the user id and pasword to the url by adding sap- user=userid and sap-password = password.

The optin shown ion the blog by Grube can be used as long as you do not have to use SOAP attachments and in this case you would not need both sender SOAP adapter and a sender agreement.

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Regards

Bhavesh

Regards

Bhavesh

Former Member
0 Kudos

You can do this if the SOAP msg directly hits your integration Engine rather than the SOAP Adapter. If your msg goes via adapter, you can not do this. This is possible in HTTP adapter.

This reply was by Stefan Grube in antoher thread.

Regards,

Jai Shankar