Hello All,
I have handcrafted a SOAP-request message and tried sending the message over
the wire. But once my Axis web service receives the request it is throwing
the following error.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
Did anyone encounter similar problem before? If I am right, I think that
there is nothing wrong with my SOAP message or content before root element.
Any pointers?
---------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<vendor:checkAvailability
xmlns:vendor="http://agena.cis.ksu.edu:8080/axis/services/DCheckAvailability">
<Books-Count>10</Books-Count>
<Request-String>12-34-5688</Request-String>
</vendor:checkAvailability>
</soapenv:Body>
</soapenv:Envelope>
---------------------------------------------------------------------------------------------------------------------------------
_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and
safe. http://specials.msn.com/msn/security.asp