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_PRO
TOCOL_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:1
93)
......
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.addContentLe
ngthRequestHeader(EntityEnclosingMethod.java:411)
at
org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHe
aders(EntityEnclosingMethod.java:374)
Is there somewhere else or something else I need to set? It would appear
that chunking is not disabled...
Any ideas?
Tim McConechy | Principal Software Engineer | Infor | Office:
610.407.8191 | Mobile: 610.306.6603 | [EMAIL PROTECTED]