on 04-26-2007 6:37 PM
I am a .NET guy, and have been given the WSDL for a Web Service exposed through XI. I have the proxy built, but my code dies on a 401 (Not Authorized) exception. How do I pass a userid/password to SAP? Can anyone point me to manuals for how XI webservices interact with .NET?
Hi Ryan,
XI Web Services should accept either username/password or SAP Logon Tickets for authentication.
I would like therefore to point you to my blog .
If your proxy is called myProxy the following code snippet will allow you to pass username and password to XI.
myProxy.Credentials = _
new System.Net.NetworkCredential("testsapuser", "secret");
Best regards,
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.