[prev in list] [next in list] [prev in thread] [next in thread]
List: soap-user
Subject: Re: Is there any other way by which Apache SOAP to call Integrated Window based .NET WEB Service
From: "Scott Nichol" <snicholnews () scottnichol ! com>
Date: 2004-02-12 13:52:00
Message-ID: 124401c3f16f$64141f10$6401a8c0 () northgate
[Download RAW message or body]
> > > >
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" <nilesh@slminfotech.com>
To: <soap-user@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic