axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles-Alexandre Sabourdin <kan...@dedaletechnology.com>
Subject Re: NTLM
Date Fri, 11 Feb 2005 09:42:01 GMT
Hi, I response to myself for others helps and possible patch (I did create an 
issue)
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.

but NTLM sucks!

Le jeudi 10 Février 2005 17:31, Charles-Alexandre Sabourdin a écrit :
> http://issues.apache.org/jira/browse/AXIS-1689
> I am block at that point with this exception
> org.apache.commons.httpclient.ProtocolException: Unbuffered entity
> enclosing request can not be repeated.

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

Mime
View raw message