Generic Soap Error Org.xml.sax.saxparseexception
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Content is not allowed in prolog” when parsing perfectly valid XML on GAE up vote 33 down vote favorite 2 I've been beating my head against this absolutely infuriating bug for the last 48 hours, so I thought I'd finally throw in the towel and try asking here before I throw my laptop out the window. I'm trying to parse the response XML from a call I made to AWS SimpleDB. The response is coming back on the wire just fine; for example, it may look like:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community http://stackoverflow.com/questions/3030903/content-is-not-allowed-in-prolog-when-parsing-perfectly-valid-xml-on-gae of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Content is not allowed in Prolog SAXParserException up vote 41 down vote favorite 9 I am trying to call a web service but facing a strange behavior. we have a web-service running on my http://stackoverflow.com/questions/4569123/content-is-not-allowed-in-prolog-saxparserexception server but the code is not open to us so can not see what going on behind the wall The owner of the service have exposed web based test client UI which take input in a text box and will show the response to testing purpose.This input box is taking the input in the below mentioned format
You don't have JavaScript enabled. This tool uses https://forums.alfresco.com/forum/developer-discussions/other-apis/solvedsaxparseexception-premature-end-file-07312008-1143 JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. All Places generic soap > Alfresco ECM > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. generic soap error 8 Replies Latest reply on Aug 30, 2013 11:00 AM by swapnil88 [solved]SAXParseException: Premature end of file morpheus Jul 31, 2008 12:43 PM getting this exception,org. xml.sax.SAXParseException: Premature end of file. when running this code on an client:
Predicate itemsToCheckOut = new Predicate(referencestoGet, null, null);
CheckoutResult checkOutResult = authoringService.checkout(itemsToCheckOut, null);
trace:
de.momeLearnClient.exceptions.AlfrescoWSException: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub.checkout(AuthoringServiceSoapBindingStub.java:608)
at de.momeLearnClient.datasource.AlfrescoWSDataAccess