Solved

Axis JAVA client generates malformed HTTP request

Posted on 2008-11-03
3
803 Views
Last Modified: 2013-11-23
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
Comment
Question by:sivakumarmsc
3 Comments
 
LVL 1

Author Comment

by:sivakumarmsc
ID: 22877795
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
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 23135003
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now