cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter request unauthorized

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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