Thank you guys. It worked as you said but temporarily solution the thing is I have web services and my web client. My client will send xml file in a String parameter and my web services will recieve it as String parameter. Now, the problem is my client will not edit or change the String quotes into single character or escape String quotes . How do i progmatically handel this issue ?. The other thing is when I pass xml file as a String to web services on server side when I print String parameter there are no String double quotes. I dont want my client should edit the xml file.
author and iconoclast
This is only a problem when the XML appears in the text of your program like this. Once the XML data is in a String -- whether it be because it was sent over the network, read from a file, etc -- then everything is fine. The escaping stuff is just necessary for the compiler, when it's reading the String contents from a Java source file this way. Make sense?
Joined: Jun 09, 2002
I Thank you for your response. I do understand. Let me now talk with the client meanwhile I would love to hear any opinion in this matter. Your help will be greatfull.