[
https://issues.apache.org/jira/browse/AXIS2-5662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079741#comment-14079741
]
Kyle Thayer commented on AXIS2-5662:
------------------------------------
Hi Andreas, thanks for responding so quickly. Sorry about the lack of
information, this is my first time posting here and I wasn't sure exactly what
all you would need.
Before I get to providing all the data you need, I did notice that on line 55
of SOAPBuilder.java under org.apache.axis2.builder, it is looking for a BOM.
In this case because I am using UTF-8, no BOM is given, perhaps this could be
the root cause?
As for the information you need, I am not sure how to obtain it. My company
recently bought another company, and this project had no documentation. How
can I determine which version of Axis2 I am using? The jar name doesn't
include a version and I haven't been able to find a version in the source code.
For the stack trace, this is all the client is getting. I am not yet able to
recreate this problem locally, so a more detailed stack trace is currently not
available.
XML data was sent from ASP.NET framework using SOAP. I can provide more
information about how the data was sent/obtained if you have any more specific
questions.
Thanks a lot for the help!
> 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: ProblemCausingXMLshortened
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Here is the stack trace that the client is getting:
> INFO | jvm 1 | 2014/05/07 15:18:26 | Caused by:
> org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: ParseError
> at [row,col]:[1,1]
> INFO | jvm 1 | 2014/05/07 15:18:26 | Message: Content is not allowed in
> prolog.
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> com.netqos.inventory2.client.Inventory2WSStub.requestInventory(Inventory2WSStub.java:732)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> com.ca.netqos.connector.impl.npc.Inventory2WSStubImpl.connectorRequestInventory(Inventory2WSStubImpl.java:272)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> com.ca.netqos.connector.impl.NetQoSMDRImpl.getData(NetQoSMDRImpl.java:148)
> INFO | jvm 1 | 2014/05/07 15:18:26 | at
> com.ca.netqos.connector.ucf.NetQoSConnector.get(NetQoSConnector.java:300)
> I have attached a copy of the XML causing the problem. Any help with this
> issue would be greatly appreciated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]