axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Thayer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5662) Parse Error: Message: Content is not allowed in prolog.
Date Thu, 31 Jul 2014 21:29:39 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14081504#comment-14081504
] 

Kyle Thayer commented on AXIS2-5662:
------------------------------------

Awesome!  And which package belongs to Woodstox so I can make sure I am using the right one.

> Parse Error:  Message: Content is not allowed in prolog.
> --------------------------------------------------------
>
>                 Key: AXIS2-5662
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5662
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Kyle Thayer
>         Attachments: LogFile.txt, ProblemCausingXMLshortened, npc_capture_0723_1400_bad.pcapng
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Here is the stack trace that the client is getting:
> com.ca.ucf.api.UCFException: NetQoSConnector::get - Couldn't get data from MDR
> 	at com.ca.netqos.connector.ucf.NetQoSConnector.get(NetQoSConnector.java:319)
> 	at com.ca.sam.ifw.framework.Silo.GetCIs(Silo.java:747)
> 	at com.ca.sam.ifw.framework.Connector.launchItemDiscovery(Connector.java:1772)
> 	at com.ca.sam.ifw.framework.Connector$8.run(Connector.java:2744)
> Caused by: org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: ParseError
at [row,col]:[1,1]
> Message: Content is not allowed in prolog.
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
> 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> 	at com.netqos.inventory2.client.Inventory2WSStub.requestInventory(Inventory2WSStub.java:732)
> 	at com.ca.netqos.connector.impl.npc.Inventory2WSStubImpl.connectorRequestInventory(Inventory2WSStubImpl.java:272)
> 	at com.ca.netqos.connector.impl.NetQoSMDRImpl.getData(NetQoSMDRImpl.java:148)
> 	at com.ca.netqos.connector.ucf.NetQoSConnector.get(NetQoSConnector.java:300)
> 	... 3 more
> Caused by: org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: ParseError
at [row,col]:[1,1]
> Message: Content is not allowed in prolog.
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:260)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:161)
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:110)
> 	at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:682)
> 	at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:215)
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
> 	... 12 more
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
> Message: Content is not allowed in prolog.
> 	at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598)
> 	at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:88)
> 	at org.apache.axiom.om.impl.builder.SafeXMLStreamReader.next(SafeXMLStreamReader.java:183)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:597)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:172)
> 	... 18 more
> I have attached a copy of the XML causing the problem.  Any help with this issue would
be greatly appreciated.
> Axis2 Version is 1.5.1
> Axiom Version is 1.2.8



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message