Hi all,

We are using Axis 1.4 in our project which consumes services hosted in .NET. 
The security feature of the services is implemented using NTLM authentication. 
We are using commons-codec-1.4.jar and commons-httpclient-3.1.jar to negotiate 
security. The problem is, when a user tries to login with password length more 
than "14" characters then he is getting "401 Unauthorized" fault.

These are the property set to the stub:-

ourBasicHttpEndpointStub._setProperty( MessageContext.HTTP_TRANSPORT_VERSION,  
org.apache.axis.transport.http.HTTPConstants.HEADER_PROTOCOL_V11);

Hashtable props = new Hashtable();
props.put(org.apache.axis.transport.http.HTTPConstants.HEADER_TRANSFER_ENCODING,org.apache.axis.transport.http.HTTPConstants.HEADER_TRANSFER_ENCODING_CHUNKED);
  
ourbusBasicHttpEndpointStub._setProperty(org.apache.axis.transport.http.HTTPConstants.REQUEST_HEADERS,
 props);

to facilitate attachments. We are also setting our own custom headers to the 
stub.
Using SOAP monitor we have seen that the password is sent properly to the 
server in the SOAP header.

Could anybody please suggest something so that we could get around this problem.

Partha


Reply via email to