http://issues.apache.org/jira/browse/AXIS-1689

Hello, I try to use axis with NTLM Authentification.

I change the client-config.swdd to use my 
com.imko.axis.transport.http.CommonsHTTPSender. (with is a copy of 
org.apache.axis.transport.http.CommonsHTTPSender)

I did add the code proposed in http://issues.apache.org/jira/browse/AXIS-1689

and change :
((PostMethod)method).setUseExpectHeader(true); // workaround for
((PostMethod)method).setRequestContentLength(InputStreamRequestEntity.CONTENT_LENGTH_AUTO);
 
I am block at that point with this exception 
org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing 
request can not be repeated. 

     [java] - 100 (continue) read timeout. Resume sending the request
     [java] 0 [AWT-EventQueue-0] INFO 
org.apache.commons.httpclient.HttpMethodBase  - 100 (continue) read timeout. 
Resume sending the request
     [java] - ntlm authentication scheme selected
     [java] 31 [AWT-EventQueue-0] INFO 
org.apache.commons.httpclient.auth.AuthChallengeProcessor  - ntlm 
authentication scheme selected
     [java] AxisFault
     [java]  faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     [java]  faultSubcode: 
     [java]  faultString: org.apache.commons.httpclient.ProtocolException: 
Unbuffered entity enclosing request can not be repeated.
     [java]  faultActor: 
     [java]  faultNode: 
     [java]  faultDetail: 
     [java]     
{http://xml.apache.org/axis/}stackTrace:org.apache.commons.httpclient.ProtocolException:
 
Unbuffered entity enclosing request can not be repeated.
     [java]     at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:483)


-- 
Charles-Alexandre
SABOURDIN
-----------------

Reply via email to