When I am trying to send soapmessage created by saaj Api, I am getting the error saying "Content is not allowed in prolog". I tried to add prolog,after adding prolog(xml declaration) i am getting another error.
Any ideas would be of great help.
Thanks for all your help.
Author and all-around good cowpoke
posted 7 years ago
If this was my problem I would use SOAPui or TCPMON to capture the exact text of the message. It could be as simple as a single leading space before the <?xml declaration.