on 06-27-2006 3:24 PM
Hi All,
I've generted a WSDL file by using the following steps.
1.Created a RFC enabled ABAP pgm
2.Created a web service out of it (using webservice creation wizard - default virtual host. so my port is 8100)3.Released the web service (WSCONFIG)
4.Generated the WSDL file (WSADMIN + CTRL F1).
Then I wanted to consume it from a .Net program. But am getting authentication error in .Net.
<b>Do I need to configure anything for Authentication (username and password) from R/3 side?..</b>
<b>How Do I pass the credential info from .Net?.</b>
Should I take care of any setup other than what I've specified?.
Any Blogs or response would be appreciated.
Thanks,
Joe.
Usually like this:
WSReference1.WSPProxy proxy = new WSReference1.WSPProxy();
proxy.Credentials = new System.Net.NetworkCredentials("Username", "Password");
proxy.PreAuthenticate = true;
proxy.CallMethod();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.