For questions about Axis, post to the list [EMAIL PROTECTED]

Regarding this question specifically, I will note that the JDK now includes MS Lan Man 
authentication, but only on Windows platforms.  Therefore, don't be surprised if you 
find Axis similarly limited.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "morchid fatima" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 6:15 AM
Subject: RE: Is there any other way by which Apache SOAP to call Integrated Window 
based .NET WEB Service


hello,
i'm having a .NET web service that uses integrated windows authentication,
and which i would develop an axis  client.
Can i do this?
thank you


-----Message d'origine-----
De : nilesh [mailto:[EMAIL PROTECTED]
Envoyé : jeudi, 12. février 2004 08:58
À : [EMAIL PROTECTED]
Objet : Is there any other way by which Apache SOAP to call Integrated
Window based .NET WEB Service


i am having Integrated Windows Authentication based .NET WEB Service which
is deployed on IIS.

I am having JAVA based SOAP Client so i tried to call the .NET WEB Service
but the response i am getting is "You are not authorized".
becuase SOAPHTTPConnection is only support Basic Authentication.

now what i did i changed the .NET WEB Service to used BASIC Authentication
then i got proper responce.

So my Question here is that Is there any other way by which Apache SOAP to
call Integrated Window based .NET WEB Service.  Becuase SOAPHTTPConnection
contains 2 method setUserName and setPassword
which is for BASIC Authentication.

 i am providing u the code that i am using to call web service from java.

 org.apache.soap.rpc.Call call = new org.apache.soap.rpc.Call();
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);

 org.apache.soap.transport.http.SOAPHTTPConnection conn =  new
org.apache.soap.transport.http.SOAPHTTPConnection();
 conn.setUserName("administrator");
 conn.setPassword("flip.sit");
 if(conn!=null)


 call.setSOAPTransport(conn);
 }
 else


 System.out.println("nulll in conn");
 }

           Response resp = call.invoke(url, "");

 if u can send some tips regarding how to call Integrated WIndows Based
.NET Web Service that will be very greatfull to me.

Thx
nilesh


Reply via email to