Hello,
I have a method in my java appl which calls a web service with a soap message and the web service (jsp) sends another soap message as response to the calling method. When getSOAPBody() method is invoked on the SOAPMessage returned by the jsp, the following error occured:
ERROR: 'Content is not allowed in prolog.'
Mar 31, 2009 4:27:24 PM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope
SEVERE: SAAJ0511: Unable to create envelope from given source
Mar 31, 2009 4:27:24 PM FileStr.FileSystemSOAPInterface createFileStrFromSoapMsg
Please tell me how to overcome this. Thank you.