| Author |
Problems trying to send XML over HTTP POST
|
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
I'm trying to implement a servlet which receives XML messages as HTTP POST requests. The problem is that for some reason I'm not able to call the service correctly -- symptoms being that the servlet and/or helper classes are not able to read the request body. I'd really appreciate the help. In Tomcat 4.1.27 I get the following stack trace: In iPlanet 6.0 I get the following stack trace: And this is what Grinder's TCPSniffer tells me (I'm trying to send both with HttpUnit and Commons HttpClient):
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
No longer a problem. It was a sloppy manual refactoring -- the exceptions were due to me trying to parse the content twice...
|
 |
 |
|
|
subject: Problems trying to send XML over HTTP POST
|
|
|