org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]:[1,46]

Stack Overflow | Rohit | 3 years ago
  1. 0

    WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers

    Stack Overflow | 3 years ago | Rohit
    org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]:[1,46]
  2. 0

    Axis Java - User - Help with Axis Fault

    nabble.com | 6 months ago
    org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'E' (code 69) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]
  3. 0

    Facing problem when using Siebel on demand web service

    Oracle Community | 8 years ago | 843833
    org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]: [1,50]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When webservice_esb_bpel is deployed using ant, the components of the example are deployed separately - order-manager.war, order-manager-service.jar, shipping-service.jar and Quickstart_webservice_esb_bpel.esb. However, when deployed via Eclipse as a single .esb, so the jars and war are contained within the .esb (at the top level), they do not get deployed by default. The attached jboss-structure.xml file needs to be placed in the .esb META-INF folder to enable the various artifacts to be detected by the deployer. However when this is done, the example fails to run - after the example message is sent, it results in: 10:01:52,411 INFO [STDOUT] [Quickstart_webservice_bpel] Message before invoking 'ABI_OrderManager' endpoint: 10:01:52,463 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:8865</addr:To> <addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing"/> <addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"> <addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address> </addr:ReplyTo> <addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr4kr9q5fguj1</addr:MessageID> <odesession:callback xmlns:odesession="http://www.intalio.com/type/session"> <addr:Address xmlns:addr="http://www.w3.org/2005/08/addressing">http://localhost:8080/bpel/processes/RetailerCallback</addr:Address> <odesession:session>hqejbhcnphr4kr9q5fguiv</odesession:session> </odesession:callback> </soapenv:Header> <soapenv:Body> <customerOrder xmlns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"> <ns:header xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"> <ns1:billTerms xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"/> <ns1:billTo xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"> <ns1:address> <ns1:city>Shelton</ns1:city> <ns1:state>CT</ns1:state> <ns1:street1>160 Active Lane</ns1:street1> <ns1:street2/> <ns1:zip>06484</ns1:zip> </ns1:address> <ns1:company>Active Steel</ns1:company> <ns1:contact> <ns1:email>bob@activeSteel.com</ns1:email> <ns1:fax>(203) 555-1235</ns1:fax> <ns1:name>Bob Active</ns1:name> <ns1:phone>(203) 555-1234</ns1:phone> </ns1:contact> </ns1:billTo> <ns1:customerNumber xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">123456</ns1:customerNumber> <ns1:orderDate xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">2006-05-01T00:00:00.000Z </ns1:orderDate> <ns1:orderTotal xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">88500.00</ns1:orderTotal> <ns1:poNumber xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">PO000123</ns1:poNumber> <ns1:shipTerms xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"/> <ns1:shipTo xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd"> <ns1:address> <ns1:city>Shelton</ns1:city> <ns1:state>CT</ns1:state> <ns1:street1>160 Active Lane</ns1:street1> <ns1:street2/> <ns1:zip>06484</ns1:zip> </ns1:address> <ns1:company>Active Steel</ns1:company> <ns1:contact> <ns1:email>bob@activeSteel.com</ns1:email> <ns1:fax>(203) 555-1235</ns1:fax> <ns1:name>Bob Active</ns1:name> <ns1:phone>(203) 555-1234</ns1:phone> </ns1:contact> </ns1:shipTo> </ns:header> <ns:items xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"> <ns1:description xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">Flat 16 feet 100 count</ns1:description> <ns1:extensionAmount xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">24500.00</ns1:extensionAmount> <ns1:partNumber xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">FLT16100</ns1:partNumber> <ns1:price xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">490.00</ns1:price> <ns1:quantity xmlns:ns1="http://www.jboss.org/samples/bpel/CustomerOrder.xsd">50</ns1:quantity> </ns:items> </customerOrder> </soapenv:Body> </soapenv:Envelope> ]. 10:01:52,583 INFO [STDOUT] ERROR - SoapExternalService.invoke(205) | Error sending message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr4kr9q5fguiw [PID null] calling org.apache.ode.il.epr.WSAEndpoint@4dee00.customerOrder(...)} org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) 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.ode.axis2.soapbinding.SoapExternalService.invoke(SoapExternalService.java:182) at org.apache.ode.axis2.MessageExchangeContextImpl.invokePartnerUnreliable(MessageExchangeContextImpl.java:68) at org.apache.ode.bpel.engine.PartnerLinkPartnerRoleImpl$UnreliableInvoker.run(PartnerLinkPartnerRoleImpl.java:345) at org.apache.ode.bpel.engine.ODEProcess$ProcessRunnable.run(ODEProcess.java:1225) at org.apache.ode.bpel.engine.BpelServerImpl$ServerRunnable.run(BpelServerImpl.java:927) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) 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) ... 15 more Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) 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) ... 21 more 10:01:52,594 INFO [STDOUT] DEBUG - BpelInstanceWorker.enqueue(55) | enqueue: for instance {http://www.jboss.org/samples/bpel/OrderProcess.bpel}OrderProcess-1#163840: org.apache.ode.bpel.engine.BpelServerImpl$TransactedRunnable@8b7a9f 10:01:52,607 INFO [STDOUT] DEBUG - ODEProcess.enqueueRunnable(1136) | enqueuRunnable for process {http://www.jboss.org/samples/bpel/OrderProcess.bpel}OrderProcess-1: {BpelInstanceWorker for {http://www.jboss.org/samples/bpel/OrderProcess.bp

    JBoss Issue Tracker | 7 years ago | Gary Brown
    org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'o' (code 111) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]
  6. 0

    apache axis2 com.ctc.wstx.exc.WstxUnexpectedCharException error

    Stack Overflow | 4 years ago | Martin
    com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]: [1,50]

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.ctc.wstx.exc.WstxUnexpectedCharException

      Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]: [1,46]

      at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar()
    2. Woodstox
      BasicStreamReader.next
      1. com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)
      2. com.ctc.wstx.sr.BasicStreamReader.startDTD(BasicStreamReader.java:2482)
      3. com.ctc.wstx.sr.BasicStreamReader.nextFromPrologBang(BasicStreamReader.java:2398)
      4. com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2058)
      5. com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
      5 frames
    3. Axiom API
      StAXSOAPModelBuilder.<init>
      1. org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
      2. org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:668)
      3. org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
      4. org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:198)
      5. org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
      6. org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:140)
      6 frames
    4. org.apache.axis2
      BuilderUtil.getSOAPBuilder
      1. org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:686)
      1 frame
    5. Apache Axis2 - Transport - testkit
      TransportUtils.createSOAPMessage
      1. org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)
      2. org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
      3. org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
      4. org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
      4 frames
    6. org.apache.axis2
      OutInAxisOperationClient$NonBlockingInvocationWorker.run
      1. org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
      2. org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
      3. org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run(OutInAxisOperation.java:446)
      3 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames