You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by nilesh <ni...@slminfotech.com> on 2004/02/12 09:58:18 UTC
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
Re: Is there any other way by which Apache SOAP to call Integrated Window based .NET WEB Service
Posted by Scott Nichol <sn...@scottnichol.com>.
>>>>
So my Question here is that Is there any other way by which Apache SOAP to call Integrated Window based .NET WEB Service.
<<<<
No, there is not.
The NTLM authentication built into the JDK has been available only since 1.4.2, and then only on Windows. There *may* be some third-party Java implementation.
Most people who feel Basic Auth is too insecure combine it with SSL.
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: "nilesh" <ni...@slminfotech.com>
To: <so...@ws.apache.org>
Sent: Thursday, February 12, 2004 3:58 AM
Subject: 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
Re: Is there any other way by which Apache SOAP to call Integrated Window based .NET WEB Service
Posted by Scott Nichol <sn...@scottnichol.com>.
For questions about Axis, post to the list axis-user@ws.apache.org.
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" <fm...@statistic.gov.ma>
To: <so...@ws.apache.org>; <ni...@slminfotech.com>
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:nilesh@slminfotech.com]
Envoyé : jeudi, 12. février 2004 08:58
À : soap-user@ws.apache.org
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
RE: Is there any other way by which Apache SOAP to call Integrated Window based .NET WEB Service
Posted by morchid fatima <fm...@statistic.gov.ma>.
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:nilesh@slminfotech.com]
Envoyé : jeudi, 12. février 2004 08:58
À : soap-user@ws.apache.org
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