on 01-19-2006 4:43 PM
Hello,
I am trying to setup a scenario in which I expose a web service through the XI using a sender soap adapter.
When the client application tries to consume the web service, it is required to produce username and password.
Is there a way to define the SOAP adapter in such a way that it will allow anonymous login ? How ?
If not, how can I bypass the authorization when consuming the web service ?
Thanks,
Elad.
Hi,
depending on where u r calling the webservice, you have to pass the credentials. if you are calling the webservice from .net here is the sample code
C#
System.Net.NetworkCredential credential = new NetworkCredential();
credential.Password = "xxxx";
credential.UserName = "xxx" ;
credential.Domain = "" ;
oRequest.Credentials = credential;
wsRequest oRequest = new wsRequest();
oRequest.Credentials = credential;
cheers,
naveen
Message was edited by: Naveen Pandrangi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.