I'm trying to use AXIS2 to call a simple web service.  I got the WSDL from a 
developer working on a System I server using i/OS.  I used WSDL2Java to 
generate the stub and wrote a simple service client.  I used tcpmon to watch 
the traffic.  When I first tried, the server side (black box) was returning an 
'HTTP/1.1 400 Bad Request'.  Even with that error code, the response in tcpmon 
looked OK.  AFter much digging, the only thing I could find was a possible 
issue with: 

'Tansfer-Encoding: chunked' 

so I used:
 
HelloServiceStub stub = new HelloServiceStub();
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED,
 Boolean.FALSE); 
 
...to stop chunking (on the request at least).  That got rid of the HTTP error, 
but AXIS still thinks there is something wrong with the response.  The 
error AXIS2 has now says: 

Reply via email to