It turned out that there was a problem in my back end service hosted on AS. Everything works fine after fixing the back end.
Thanks. On Sat, May 9, 2015 at 2:01 PM, Rajkumar Rajaratnam <[email protected]> wrote: > Wire Logs; > > > > [2015-05-09 13:56:14,068] DEBUG - SourceHandler http-incoming-1: Connected > [2015-05-09 13:56:14,069] DEBUG - LoggingNHttpServerConnection > http-incoming-1: Consume input > [2015-05-09 13:56:14,070] DEBUG - wire >> "GET > /Starbucks_Service/orders/123 HTTP/1.1[\r][\n]" > [2015-05-09 13:56:14,070] DEBUG - wire >> "User-Agent: curl/7.35.0[\r][\n]" > [2015-05-09 13:56:14,070] DEBUG - wire >> "Host: localhost:8280[\r][\n]" > [2015-05-09 13:56:14,070] DEBUG - wire >> "Accept: */*[\r][\n]" > [2015-05-09 13:56:14,070] DEBUG - wire >> "[\r][\n]" > [2015-05-09 13:56:14,072] DEBUG - headers http-incoming-1 >> GET > /Starbucks_Service/orders/123 HTTP/1.1 > [2015-05-09 13:56:14,072] DEBUG - headers http-incoming-1 >> User-Agent: > curl/7.35.0 > [2015-05-09 13:56:14,072] DEBUG - headers http-incoming-1 >> Host: > localhost:8280 > [2015-05-09 13:56:14,072] DEBUG - headers http-incoming-1 >> Accept: */* > [2015-05-09 13:56:14,073] DEBUG - SourceHandler http-incoming-1: GET > /Starbucks_Service/orders/123 HTTP/1.1 > [2015-05-09 13:56:14,078] DEBUG - ServerWorker Starting a new Server > Worker instance > [2015-05-09 13:56:14,091] INFO - TimeoutHandler This engine will expire > all callbacks after : 120 seconds, irrespective of the timeout action, > after the specified or optional timeout > [2015-05-09 13:56:14,095] DEBUG - TargetConnections Trying to get a > connection {}->http://localhost:9764 > [2015-05-09 13:56:14,095] DEBUG - HostConnections Creating new connection > pool: {}->http://localhost:9764 > [2015-05-09 13:56:14,096] DEBUG - ConnectCallback Connected to remote > address: localhost/127.0.0.1:9764 from local address: /127.0.0.1:38049 > [2015-05-09 13:56:14,098] DEBUG - TargetHandler http-outgoing-1: Connected > (org.apache.synapse.transport.passthru.connections.HostConnections@72b5d077 > ) > [2015-05-09 13:56:14,099] DEBUG - HostConnections New connection {}-> > http://localhost:9764 is added to the free list > [2015-05-09 13:56:14,099] DEBUG - TargetConnections Trying to get a > connection {}->http://localhost:9764 > [2015-05-09 13:56:14,099] DEBUG - HostConnections Returning an existing > free connection {}->http://localhost:9764 > [2015-05-09 13:56:14,099] DEBUG - DeliveryAgent Submitting new request to > the connection: http-outgoing-1 > [2015-05-09 13:56:14,101] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: Produce output > [2015-05-09 13:56:14,101] DEBUG - TargetHandler http-outgoing-1: Request > ready > [2015-05-09 13:56:14,103] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: GET > /StarbucksService/services/Starbucks_Outlet_Service/orders/123 HTTP/1.1 > [2015-05-09 13:56:14,103] DEBUG - headers http-outgoing-1 >> GET > /StarbucksService/services/Starbucks_Outlet_Service/orders/123 HTTP/1.1 > [2015-05-09 13:56:14,103] DEBUG - headers http-outgoing-1 >> Accept: */* > [2015-05-09 13:56:14,103] DEBUG - headers http-outgoing-1 >> Host: > localhost:9764 > [2015-05-09 13:56:14,103] DEBUG - headers http-outgoing-1 >> Connection: > Keep-Alive > [2015-05-09 13:56:14,103] DEBUG - headers http-outgoing-1 >> User-Agent: > Synapse-PT-HttpComponents-NIO > [2015-05-09 13:56:14,103] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: Produce output > [2015-05-09 13:56:14,104] DEBUG - wire << "GET > /StarbucksService/services/Starbucks_Outlet_Service/orders/123 > HTTP/1.1[\r][\n]" > [2015-05-09 13:56:14,104] DEBUG - wire << "Accept: */*[\r][\n]" > [2015-05-09 13:56:14,104] DEBUG - wire << "Host: localhost:9764[\r][\n]" > [2015-05-09 13:56:14,104] DEBUG - wire << "Connection: Keep-Alive[\r][\n]" > [2015-05-09 13:56:14,104] DEBUG - wire << "User-Agent: > Synapse-PT-HttpComponents-NIO[\r][\n]" > [2015-05-09 13:56:14,104] DEBUG - wire << "[\r][\n]" > [2015-05-09 13:56:14,104] DEBUG - TargetHandler http-outgoing-1: Request > ready > [2015-05-09 13:56:14,105] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: Consume input > [2015-05-09 13:56:14,105] DEBUG - wire >> "HTTP/1.1 302 Found[\r][\n]" > [2015-05-09 13:56:14,105] DEBUG - wire >> "Set-Cookie: > JSESSIONID=AEAFCCBB7D2AAE182F1079F1A5987FDB; Path=/; HttpOnly[\r][\n]" > [2015-05-09 13:56:14,105] DEBUG - wire >> "Location: > https://172.17.42.1:9444/carbon/[\r][\n]" > [2015-05-09 13:56:14,105] DEBUG - wire >> "Content-Type: > text/html;charset=UTF-8[\r][\n]" > [2015-05-09 13:56:14,105] DEBUG - wire >> "Content-Length: 0[\r][\n]" > [2015-05-09 13:56:14,106] DEBUG - wire >> "Date: Sat, 09 May 2015 08:26:14 > GMT[\r][\n]" > [2015-05-09 13:56:14,106] DEBUG - wire >> "Server: WSO2 Carbon > Server[\r][\n]" > [2015-05-09 13:56:14,106] DEBUG - wire >> "[\r][\n]" > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << HTTP/1.1 302 > Found > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << Set-Cookie: > JSESSIONID=AEAFCCBB7D2AAE182F1079F1A5987FDB; Path=/; HttpOnly > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << Location: > https://172.17.42.1:9444/carbon/ > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << Content-Type: > text/html;charset=UTF-8 > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << > Content-Length: 0 > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << Date: Sat, 09 > May 2015 08:26:14 GMT > [2015-05-09 13:56:14,106] DEBUG - headers http-outgoing-1 << Server: WSO2 > Carbon Server > [2015-05-09 13:56:14,107] DEBUG - TargetHandler http-outgoing-1: HTTP/1.1 > 302 Found > [2015-05-09 13:56:14,109] DEBUG - TargetHandler http-outgoing-1: Input > ready > [2015-05-09 13:56:14,110] DEBUG - TargetHandler http-outgoing-1: Content > decoder [content length: 0; pos: 0; completed: true] > [2015-05-09 13:56:14,115] ERROR - RelayUtils Error while building > Passthrough stream > > org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: > ParseError at [row,col]:[1,1] > Message: Premature end of file. > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) > at > org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566) > at > org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:129) > at > org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:107) > at > org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:82) > at > org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:68) > at > org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) > at > org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) > at org.apache.synapse.rest.Resource.process(Resource.java:297) > at org.apache.synapse.rest.API.process(API.java:298) > at > org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76) > at > org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:50) > at > org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:220) > at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) > at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) > at > org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) > at > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: javax.xml.stream.XMLStreamException: ParseError at > [row,col]:[1,1] > Message: Premature end of file. > at > com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598) > at > org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) > at > org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34) > at > org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) > at > org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214) > ... 22 more > [2015-05-09 13:56:14,116] ERROR - SequenceMediator Error while building > message > > org.apache.axis2.AxisFault: Error while building Passthrough stream > at > org.apache.synapse.transport.passthru.util.RelayUtils.handleException(RelayUtils.java:236) > at > org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:111) > at > org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:82) > at > org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:68) > at > org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) > at > org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) > at org.apache.synapse.rest.Resource.process(Resource.java:297) > at org.apache.synapse.rest.API.process(API.java:298) > at > org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76) > at > org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:50) > at > org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:220) > at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) > at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) > at > org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) > at > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.axiom.om.OMException: > javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] > Message: Premature end of file. > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) > at > org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566) > at > org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:129) > at > org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:107) > ... 17 more > Caused by: javax.xml.stream.XMLStreamException: ParseError at > [row,col]:[1,1] > Message: Premature end of file. > at > com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598) > at > org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) > at > org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34) > at > org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) > at > org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681) > at > org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214) > ... 22 more > [2015-05-09 13:56:14,118] INFO - LogMediator To: > http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , > MessageID: urn:uuid:bd88966e-262a-4fcc-a4f2-2fe7bae1ae01, Direction: > response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 0, > ERROR_MESSAGE = Error while building message, Envelope: <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" > http://www.w3.org/2003/05/soap-envelope > "><soapenv:Body></soapenv:Body></soapenv:Envelope> > [2015-05-09 13:57:14,143] DEBUG - SourceHandler http-incoming-1: Timeout > [2015-05-09 13:57:14,143] WARN - SourceHandler Connection time out after > request is read: http-incoming-1 > [2015-05-09 13:57:14,143] DEBUG - SourceConnections Shutting down > connection forcefully http-incoming-1 > [2015-05-09 13:57:14,143] DEBUG - LoggingNHttpServerConnection > http-incoming-1: Shutdown connection > [2015-05-09 13:57:14,144] DEBUG - SourceHandler http-incoming-1: Closed > [2015-05-09 13:57:14,144] DEBUG - SourceHandler http-incoming-1: > Keep-Alive connection was closed: http-incoming-1 > [2015-05-09 13:57:14,144] DEBUG - SourceConnections Shutting down > connection forcefully http-incoming-1 > [2015-05-09 13:57:14,144] DEBUG - LoggingNHttpServerConnection > http-incoming-1: Shutdown connection > [2015-05-09 13:57:14,164] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: Consume input > [2015-05-09 13:57:14,165] DEBUG - TargetHandler http-outgoing-1: End of > input > [2015-05-09 13:57:14,165] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: Close connection > [2015-05-09 13:57:14,165] DEBUG - TargetHandler http-outgoing-1: Closed > [2015-05-09 13:57:14,165] DEBUG - TargetHandler http-outgoing-1: > Keep-Alive Connection closed > [2015-05-09 13:57:14,166] DEBUG - LoggingNHttpClientConnection > http-outgoing-1: Shutdown connection > > On Sat, May 9, 2015 at 1:36 PM, Rajkumar Rajaratnam <[email protected]> > wrote: > >> Hi, >> >> I followed >> https://docs.wso2.com/display/ESB481/Configuring+Specific+Use+Cases#ConfiguringSpecificUseCases-Transformingthecontenttype >> to create an API in ESB 4.8.1 to expose a service hosted on AS 5.2.1. >> >> Full API definition is there in the above doc. I am pasting the resource >> that I am invoking. >> >> <api xmlns="http://ws.apache.org/ns/synapse" name="StarbucksService" >> context="/Starbucks_Service"> >> ..... >> ..... >> <resource methods="DELETE GET" uri-template="/orders/{id}"> >> <inSequence> >> <property name="REST_URL_POSTFIX" >> expression="fn:concat('/orders/',get-property(' >> uri.var.id'))" >> scope="axis2"/> >> <send> >> <endpoint> >> <address uri=" >> http://localhost:9764/StarbucksService/services/Starbucks_Outlet_Service/ >> "/> >> </endpoint> >> </send> >> </inSequence> >> <outSequence> >> <log level="full"/> >> <property name="messageType" value="application/xml" >> scope="axis2"/> >> <send/> >> </outSequence> >> </resource> >> </api> >> >> When I call the API *(curl -v -X GET >> http://localhost:8280/Starbucks_Service/orders/123 >> <http://localhost:8280/Starbucks_Service/orders/123>)*, I am getting the >> below exception. What would be the issue here? >> >> >> [2015-05-09 12:40:46,499] INFO - TimeoutHandler This engine will expire >> all callbacks after : 120 seconds, irrespective of the timeout action, >> after the specified or optional timeout >> [2015-05-09 12:40:46,597] ERROR - RelayUtils Error while building >> Passthrough stream >> org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: >> ParseError at [row,col]:[1,1] >> Message: Premature end of file. >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) >> at >> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566) >> at >> org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:129) >> at >> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:107) >> at >> org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:82) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:68) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) >> at >> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) >> at org.apache.synapse.rest.Resource.process(Resource.java:297) >> at org.apache.synapse.rest.API.process(API.java:298) >> at >> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76) >> at >> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:50) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:220) >> at >> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) >> at >> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >> at >> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:745) >> Caused by: javax.xml.stream.XMLStreamException: ParseError at >> [row,col]:[1,1] >> Message: Premature end of file. >> at >> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598) >> at >> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) >> at >> org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34) >> at >> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) >> at >> org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214) >> ... 22 more >> [2015-05-09 12:40:46,598] ERROR - SequenceMediator Error while building >> message >> org.apache.axis2.AxisFault: Error while building Passthrough stream >> at >> org.apache.synapse.transport.passthru.util.RelayUtils.handleException(RelayUtils.java:236) >> at >> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:111) >> at >> org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:82) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:68) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) >> at >> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) >> at org.apache.synapse.rest.Resource.process(Resource.java:297) >> at org.apache.synapse.rest.API.process(API.java:298) >> at >> org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76) >> at >> org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:50) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:220) >> at >> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) >> at >> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >> at >> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:745) >> Caused by: org.apache.axiom.om.OMException: >> javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] >> Message: Premature end of file. >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) >> at >> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566) >> at >> org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:129) >> at >> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:107) >> ... 17 more >> Caused by: javax.xml.stream.XMLStreamException: ParseError at >> [row,col]:[1,1] >> Message: Premature end of file. >> at >> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598) >> at >> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) >> at >> org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34) >> at >> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) >> at >> org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681) >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214) >> ... 22 more >> [2015-05-09 12:40:46,600] INFO - LogMediator To: >> http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: >> , MessageID: urn:uuid:855ded2e-e18f-4f9d-8f5b-e40b6bac4ef8, Direction: >> response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 0, >> ERROR_MESSAGE = Error while building message, Envelope: <?xml version="1.0" >> encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" >> http://www.w3.org/2003/05/soap-envelope >> "><soapenv:Body></soapenv:Body></soapenv:Envelope> >> >> >> Thanks. >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
