Hi, I have following listener proxy which take messages from the queue and send it to the SimpleStockQuoteService service.
<proxy xmlns="http://ws.apache.org/ns/synapse" name="JMSQueueListenerProxy" transports="jms" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="OUT_ONLY" value="true"/> <log level="full"/> <send> <endpoint> <address uri=" http://localhost:9000/services/SimpleStockQuoteService"/> </endpoint> </send> </inSequence> <outSequence/> </target> <parameter name="transport.jms.ContentType"> <rules> <jmsProperty>contentType</jmsProperty> <default>application/xml</default> </rules> </parameter> <parameter name="transport.jms.ConnectionFactory">myQueueConnectionFactory</parameter> <parameter name="transport.jms.DestinationType">queue</parameter> <parameter name="transport.jms.Destination">myQueue</parameter> <description></description> </proxy> But when this proxy sending message to the SimpleStockQuoteService, following error throws by the axis2 server. [2012-12-07 21:54:41,688] ERROR {org.apache.axis2.engine.AxisEngine} - The endpoint reference (EPR) for the Operation not found is /services/SimpleStockQuoteService and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator. org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /services/SimpleStockQuoteService and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator. at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102) at org.apache.axis2.engine.Phase.invoke(Phase.java:329) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144) at org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89) at org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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:662) [2012-12-07 21:54:41,690] ERROR {org.apache.synapse.transport.nhttp.ServerWorker} - Error processing POST request org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /services/SimpleStockQuoteService and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator. at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102) at org.apache.axis2.engine.Phase.invoke(Phase.java:329) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144) at org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89) at org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) 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:662) But SimpleStockQuoteService in the backend is up and running. This is the message captured from tcpmon POST /services/SimpleStockQuoteService HTTP/1.1 Content-Type: application/xml; charset=UTF-8 JMS_DESTINATION: myQueue JMS_MESSAGE_ID: ID:3800e247-743e-3a4f-8b24-102c0ac8abf7 JMS_PRIORITY: 4 JMS_QPID_DESTTYPE: 1 JMS_TIMESTAMP: 1354901553425 JMS_EXPIRATION: 0 JMS_REDELIVERED: false JMS_DELIVERY_MODE: 2 SOAPAction: urn:placeOrder Transfer-Encoding: chunked Host: 127.0.0.1:8888 Connection: Keep-Alive User-Agent: Synapse-HttpComponents-NIO 1fd <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://services.samples/xsd" xmlns:ser="http://services.samples"> <soap:Body> <ser:placeOrder> <!--Optional:--> <ser:order> <!--Optional:--> <xsd:price>50</xsd:price> <!--Optional:--> <xsd:quantity>3</xsd:quantity> <!--Optional:--> <xsd:symbol>IBM</xsd:symbol> </ser:order> </ser:placeOrder> </soap:Body> </soap:Envelope> Does anyone know the reason for this issue? Thanks, KasunW.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
