[ http://issues.apache.org/jira/browse/AXIS2-7?page=comments#action_59010 ]
     
Charles-sabourdin commented on AXIS2-7:
---------------------------------------

the anwser is to change :
((PostMethod)method).setRequestBody(new 
ByteArrayInputStream(baos.toByteArray()));

into 

RequestEntity rq = new ByteArrayRequestEntity(baos.toByteArray());
((PostMethod)method).setRequestEntity(rq);

And it will works.


> Exception using NTLM Unbuffered entity Enclosing request can not be repeated.
> -----------------------------------------------------------------------------
>
>          Key: AXIS2-7
>          URL: http://issues.apache.org/jira/browse/AXIS2-7
>      Project: Axis2
>         Type: Bug
>   Components: client-api
>  Environment: Windows 2000 and Linux mandrake
>     Reporter: Charles-sabourdin
>     Assignee: Davanum Srinivas

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to