cancel
Showing results for 
Search instead for 
Did you mean: 

passing user id/password in SOAP request from .Net

Former Member
0 Kudos

Hi Experts,

I have SOAP (.Net application) <> XI <> Proxy (ECC) scenario where the XI exposed webservice is being consumed by .Net.

I have set 'HTTP with basic authentication' in SOAP sender communication chanel.

My question:

How does the .Net application pass the userid/password with the SOAP request?

Thanks,

Shobhit

Accepted Solutions (1)

Accepted Solutions (1)

dharamveer_gaur2
Active Contributor
0 Kudos

Just add the following at the end of the URL when you are creating the WSDL file in ID.

&sap-user=<username>&sap-password=<password>

Answers (3)

Answers (3)

dharamveer_gaur2
Active Contributor
0 Kudos

hello shobhit.

you r using SOAP sender, so WSDL file is required for that.

This WSDL file is create in XI ID.

so at the time of WSDL creation ,it reuires some parameter. their is one parameter URL.

at the end of URL you can add multiple user name with password,whit comma seprated.

It would not Iappear at Internet Explorer url during file sending.

It is only part of your WSDL.

Former Member
0 Kudos

In SOAP Adapter give the Login credentials of the Sender Webservice

Former Member
0 Kudos

Hi Dharamveera,

I have multiple partners accessing the webservice. I have provided the WSDL files to many partners and have created their respective userids in the SAP XI system. I want them to pass the respective userids/passwords from their applications.

Is there any other way of passign the user/pwd other than passign it in URL as it seems to be unsecure?

Thanks,

Shobhit

former_member183906
Active Contributor
0 Kudos

Trythe Assigned user tab in Business Service and/or Sender Agreement.

userId/Password will also be encrypted along with the data when you use HTTPs.

Ref to the below FAQ for more clarity

http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#lockicon