Hi,
The response request only says:

TCPIP Mode:

Request:
POST /FsSvcCore/DataObjects/WsItem.asmx HTTP/1.0

Is there other ways to disable chunking?

Thanks
Tim


-----Original Message-----
From: Amila Suriarachchi [mailto:[EMAIL PROTECTED]
Sent: Tue 6/24/2008 1:20 AM
To: [email protected]
Subject: Re: Can't Change chunking...HTTP/1.0 does not support chunk encoding
 


On Tue, Jun 24, 2008 at 1:03 AM, Tim James McConechy <[EMAIL PROTECTED]> wrote:


        Hi,

         

        I tried to disable chunking in the axis2.xml file as well as use the 
following code:

         

        if (httpChunking.equals("false"))

        
WebServiceManager.formulaServiceObject._getServiceClient().getOptions().setProperty(HTTPConstants.CHUNKED,
 false);

        if (httpVersion.equals("1.0"))

              
WebServiceManager.formulaServiceObject._getServiceClient().getOptions().setProperty(HTTPConstants.HTTP_PROTOCOL_VERSION,HTTPConstants.HEADER_PROTOCOL_10);

                          

        However, This solves chunk issues on the fetch but now on another web 
service I get the following error:

         

        15:29:13,424 ERROR http-8484-Processor19 [CUXUtils] HTTP/1.0 does not 
support chunk encoding

        org.apache.axis2.AxisFault: HTTP/1.0 does not support chunk encoding

              at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

              at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)

         

        ..

         

              at java.lang.Thread.run(Unknown Source)

        Caused by: org.apache.commons.httpclient.ProtocolException: HTTP/1.0 
does not support chunk encoding

              at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.addContentLengthRequestHeader(EntityEnclosingMethod.java:411)

              at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHeaders(EntityEnclosingMethod.java:374)

         

         

        Is there somewhere else or something else I need to set? It would 
appear that chunking is not


try to check the actual request send using tcpmon[1]

thanks,
Amila.

[1]http://ws.apache.org/commons/tcpmon/ 


        disabled.

         

        Any ideas?

         

        Tim McConechy | Principal Software Engineer | Infor | Office: 
610.407.8191 | Mobile: 610.306.6603 | [EMAIL PROTECTED]

         




-- 
Amila Suriarachchi,
WSO2 Inc. 

<<winmail.dat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to