This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Processing XML String Data in Webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Processing XML String Data in Webservices" Watch "Processing XML String Data in Webservices" New topic
Author

Processing XML String Data in Webservices

Pi Chan
Greenhorn

Joined: Aug 29, 2007
Posts: 1
Hi,

I am creating a call logging webservice that will accept an xml string, validate the xml headers if it has the correct format, then write an xml file from the input to the server. The code is working from accepting the xml string, validating headers, and writing to the server. The problem is, it only accepts limited number of strings, when the string that has to be passed is too long, he function won't work. The string that has to be passed to the webservice is too long and the code cannot process it. Any idea how to resolve this?

I am new to webservices. :roll:
Appreciate your input!
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
What is the error you are getting if the input xml is too long ?


Spritle Software Blogs
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Processing XML String Data in Webservices