On Wed, Jul 6, 2011 at 6:29 PM, Afkham Azeez <[email protected]> wrote: > This is not a local transport problem. The message seems to be not hitting > the main sequence or ProxyServiceMessageReceiver of the tenant. Since the > request does not get dispatched to any service, finally, you get this > exception saying the service was not found in the tenant's > AxisConfiguration.
Yes, this is the cause. You need to use the correct EPR when invoking the proxy. Rajika > > > On Wed, Jul 6, 2011 at 6:08 PM, Kasun Indrasiri <[email protected]> wrote: > >> When we call a service which is hosted in other Stratos service (AS, BPS >> etc), ESB always try to invoke it through the local transport. We need to >> fix this ASAP. >> >> eg: >> Actual EP: >> http://bps.cloud-test.wso2.com:9769/services/t/kasun.com/HelloService123/ >> >> ESB resolves it to : local://axis2services/HelloService123/ >> >> >> [2011-07-06 17:58:42,156] ERROR - AxisEngine The service cannot be found >> for the endpoint reference (EPR) local://axis2services/HelloService123/ >> org.apache.axis2.AxisFault: The service cannot be found for the endpoint >> reference (EPR) local://axis2services/HelloService123/ >> at >> org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251) >> at >> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109) >> 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.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.doSOAP(MultitenantMessageReceiver.java:220) >> at >> org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:170) >> at >> org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:66) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) >> at >> org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:274) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173) >> 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:686) >> [2011-07-06 17:58:42,163] ERROR - AxisEngine The service cannot be found >> for the endpoint reference (EPR) local://axis2services/HelloService123/ >> org.apache.axis2.AxisFault: The service cannot be found for the endpoint >> reference (EPR) local://axis2services/HelloService123/ >> at >> org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.doSOAP(MultitenantMessageReceiver.java:243) >> at >> org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:170) >> at >> org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:66) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) >> at >> org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:274) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173) >> 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:686) >> >> >> -- >> Kasun Indrasiri >> Associate Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> cell: +94 71 536 4128 >> Blog : http://kasunpanorama.blogspot.com/ >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Stratos-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
