sivakumarmsc
asked on
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 ><GetSched ules xmlns="http://CustomDataTimeTableToolKit.com/"><_sSchedulesSearc hXML>Abc</ _sSchedule sSearchXML ></GetSche dules></so apenv:Body ></soapenv :Envelope>
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Moderator: Since i havent received any answer pleas help to restore my points