• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 824
  • Last Modified:

Axis JAVA client generates malformed HTTP request

Hi I am trying to invoke a webservice using Axis based client. I have configured commonshttpsender through the configuration file as a core http handler for the AXIS. But the request generated by the client seems to be malformde.You can see the missing open tag after the header section, hence the corporate firewall proxy is throwing HTTP 400 error  invalid headers. You can see the the lines "Proxy-Connection: Keep-Alive version="1.0" encoding="UTF-8"?"... I have capture this request using tcpmon.

POST http://ctk-sq.innovataw3svc.com/ctk-sq.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://CustomDataTimeTableToolKit.com/GetSchedules"
User-Agent: Axis/1.4
Host: ctk-sq.innovataw3svc.com
Content-Length: 385
Proxy-Connection: Keep-Alive
 version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><GetSchedules xmlns="http://CustomDataTimeTableToolKit.com/"><_sSchedulesSearchXML>Abc</_sSchedulesSearchXML></GetSchedules></soapenv:Body></soapenv:Envelope>
0
sivakumarmsc
Asked:
sivakumarmsc
1 Solution
 
sivakumarmscAuthor Commented:
Hi I have resolved the error by setting Chunking to false.

Moderator: Since i havent received any answer pleas help to restore my points
0
 
Computer101Commented:
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now