File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems trying to send XML over HTTP POST

 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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):
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No longer a problem. It was a sloppy manual refactoring -- the exceptions were due to me trying to parse the content twice...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic