You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charles-sabourdin (JIRA)" <ji...@apache.org> on 2005/02/11 10:46:12 UTC
[jira] Commented: (AXIS2-7) Exception using NTLM Unbuffered entity Enclosing request can not be repeated.
[ 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