Subject:Web Service Call with Axis: No HTTP Content-Length causing Server error Author:Redha B Date:21 Feb 2008 01:29 PM
Doing a Web Call using Axis as a client, generates error with some Web server (in my case CICS 3.1 Web Server). The same call with a scenario using .NET works. Using TCPMon, I found out the HTTP content-length was missing.
The same call with .NET:
POST /CICS/CWBA/CSCWKI2X/FLIGHTWX HTTP/1.1
User-Agent: Stylus Studio Web Service Client
Subject:Web Service Call with Axis: No HTTP Content-Length causing Server error Author:Redha B Date:21 Feb 2008 06:35 PM
I did some research on this and it seems that it's a limitation of the CICS 3.1 Web Sever; the header Content-Length is mandatory for HTTP/1.1 even with the header "Transfer-Encoding: chunked"; contrary to the HTTP spec: