axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <sco...@javactivity.org>
Subject Help with Axis Fault
Date Thu, 02 Oct 2008 17:00:58 GMT
I have now hand-built my Axis client with all needed headers.  I notice 
the following error code which makes no sense to me:

Exception in thread "main" org.apache.axis2.AxisFault: 
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'E' 
(code 69) in prolog; expected '<'
 at [row,col {unknown-source}]: [1,1]
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:90)
    at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:353)
    at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
    at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
    at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
    at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
    at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
    at MyClient.main(MyClient.java:53)
Caused by: org.apache.axiom.om.OMException: 
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'E' 
(code 69) in prolog; expected '<'
 at [row,col {unknown-source}]: [1,1]
    at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249)
    at 
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:156)
    at 
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:105)
    at 
org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:677)
    at 
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:182)
    at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
    at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:88)
    ... 7 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected 
character 'E' (code 69) in prolog; expected '<'
 at [row,col {unknown-source}]: [1,1]
    at 
com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
    at 
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
    at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:506)
    at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:161)
    ... 13 more


There are only 4 UpperCase E characters in the packet:  in the opening 
and closing <soapenv:Envelope> tags and two more in various text elements.

What is Axis trying to tell me here?  I can't make head or tail of it.

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


Mime
View raw message