Hi Harshana, Now I didn't get Operation not found issue but now it reports namespace mismatch issue.
[2012-12-07 23:02:36,505] ERROR {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - Exception occurred while trying to invoke service method placeOrder org.apache.axis2.AxisFault: namespace mismatch require http://services.samples found http://schemas.xmlsoap.org/soap/envelope/ at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:190) at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:416) 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 23:02:36,507] ERROR {org.apache.axis2.receivers.AbstractMessageReceiver} - org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method placeOrder Thanks, KasunW. On Fri, Dec 7, 2012 at 10:40 PM, Harshana Martin <harsh...@wso2.com> wrote: > Hi KasunW, > > Can you try this again after setting the Address Endpoint Message Format > to Soap1.1? > > Sample Endpoint Configuration is given below. > > <endpoint> > <address encoding="UTF-8"* format="soap11"* > statistics="disable" trace="disable" uri=" > http://localhost:9000/services/SimpleStockQuoteService"> > <timeout> > <duration>0</duration> > <responseAction>discard</responseAction> > </timeout> > <markForSuspension> > > <retriesBeforeSuspension>0</retriesBeforeSuspension> > <retryDelay>0</retryDelay> > </markForSuspension> > <suspendOnFailure> > <initialDuration>0</initialDuration> > <maximumDuration>0</maximumDuration> > <progressionFactor>1.0</progressionFactor> > </suspendOnFailure> > </address> > </endpoint> > > Hope this helps! > > Thanks and Regards, > Harshana > > > On Sat, Dec 8, 2012 at 2:39 AM, Kasun Weranga <kas...@wso2.com> wrote: > >> 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 >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > > Harshana Martin > Senior Software Engineer > Member, Management Committee - Development Technologies > WSO2 Inc. : http://wso2.com ; http://wso2.org > Mobile: +94 775 998 115 > Profile: https://www.google.com/profiles/harshana05 > Blog: http://harshana05.blogspot.com > Twitter: http://twitter.com/harshana05 > > > -- *Kasun Weranga* Software Engineer ** *WSO2, Inc. *lean.enterprise.middleware. mobile : +94 772314602 <http://sanjeewamalalgoda.blogspot.com/>blog :<http://sanjeewamalalgoda.blogspot.com/> http://kasunweranga.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev