com.thoughtworks.xstream.io.StreamException: : Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

JBoss Issue Tracker | Gary Brown | 7 years ago
  1. 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
    com.thoughtworks.xstream.io.StreamException: : Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
  2. 0

    network errors today

    worldwindcentral.com | 1 year ago
    com.ctc.wstx.exc.WstxIOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
  3. 0

    db:: 4.02::11gPS2 : Error creating model from wsdl while creating a WebServiceProxy 7z

    hivmr.com | 8 months ago
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://x.x.x.x:port/webservices/SOAProvider/plsql/fnd_user_pkg/?wsdl": Server returned HTTP response code: 503 for URL: http://host.domain.com:port/webservices/SOAProvider/plsql/fnd_user_pkg/APPS_FND_USER_PKG_CHANGE_USER_NAME.xsd
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.71::Error when creating WSDL into Web Service Model p8

    hivmr.com | 7 months ago
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://x.x.x.x:port/webservices/SOAProvider/plsql/fnd_user_pkg/?wsdl": Server returned HTTP response code: 503 for URL: http://host.domain.com:port/webservices/SOAProvider/plsql/fnd_user_pkg/APPS_FND_USER_PKG_CHANGE_USER_NAME.xsd
  6. 0

    db:: 3.98::WSDL document could not be understood error creating web service jj

    hivmr.com | 6 months ago
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://x.x.x.x:port/webservices/SOAProvider/plsql/fnd_user_pkg/?wsdl": Server returned HTTP response code: 503 for URL: http://host.domain.com:port/webservices/SOAProvider/plsql/fnd_user_pkg/APPS_FND_USER_PKG_CHANGE_USER_NAME.xsd

  1. serious2monkeys 2 times, last 1 month ago
  2. tyson925 2 times, last 4 months ago
  3. aldrinleal 14 times, last 4 months ago
  4. regisso 1 times, last 6 months ago
20 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. java.io.IOException

    Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    URL.openStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
    2. java.net.URL.openStream(URL.java:1010)
    2 frames
  3. Woodstox
    BasicStreamReader.next
    1. com.ctc.wstx.util.URLUtil.optimizedStreamFromURL(URLUtil.java:113)
    2. com.ctc.wstx.io.DefaultInputResolver.sourceFromURL(DefaultInputResolver.java:256)
    3. com.ctc.wstx.io.DefaultInputResolver.resolveEntity(DefaultInputResolver.java:96)
    4. com.ctc.wstx.sr.ValidatingStreamReader.findDtdExtSubset(ValidatingStreamReader.java:468)
    5. com.ctc.wstx.sr.ValidatingStreamReader.finishDTD(ValidatingStreamReader.java:358)
    6. com.ctc.wstx.sr.BasicStreamReader.skipToken(BasicStreamReader.java:3349)
    7. com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1988)
    8. com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
    8 frames
  4. XStream Core
    StaxDriver.createReader
    1. com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:38)
    2. com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:126)
    3. com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:119)
    4. com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:98)
    5. com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:83)
    6. com.thoughtworks.xstream.io.xml.StaxReader.<init>(StaxReader.java:33)
    7. com.thoughtworks.xstream.io.xml.StaxDriver.createStaxReader(StaxDriver.java:115)
    8. com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:66)
    8 frames
  5. org.jboss.soa
    MessageAwareListener$TransactionalRunner.run
    1. org.jboss.soa.esb.actions.soap.SOAPClient.applyXStreamResponseDeserializer(SOAPClient.java:550)
    2. org.jboss.soa.esb.actions.soap.SOAPClient.processResponse(SOAPClient.java:523)
    3. org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:430)
    4. org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:634)
    5. org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:586)
    6. org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:420)
    7. org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
    7 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:619)
    3 frames