Skip to Content
avatar image
Former Member

passing user id/password in SOAP request from .Net

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Sep 15, 2008 at 11:17 AM

    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>

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2008 at 11:19 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 15, 2008 at 11:30 AM

    In SOAP Adapter give the Login credentials of the Sender Webservice

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Sep 15, 2008 at 01:15 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded