I also got the same issue when running the above sample and used [1] to correct the proxy service
@ Nirdesha : Could you please update the EIP guide accordingly [1] http://charithaka.blogspot.com/2014/02/common-mistakes-to-avoid-in-wso2-esb-1.html On Thu, Apr 17, 2014 at 5:23 PM, Harsha Kumara <[email protected]> wrote: > Hi Sajini, > According to [1] this error cause due to having below configuration in the > synapse xml. > > <inSequence> > * <send/>* > </inSequence> > > > The error cab be avoided by adding endpoint inside send mediator as > follows. > > <inSequence> > *<send> > <endpoint name="TimeoutEndpoint"> > <address > uri="http://localhost:9000/services/SimpleStockQuoteService > <http://localhost:9000/services/SimpleStockQuoteService>"> > <timeout> > <duration>8000</duration> > <responseAction>fault</responseAction> > </timeout> > </address> > </endpoint> > </send>* > </inSequence> > > Seems worked fine for me. > > If one from ESB team can confirm this as the solution then document needs > to be updated. > > [1]- > http://charithaka.blogspot.com/2014/02/common-mistakes-to-avoid-in-wso2-esb-1.html > > Thanks, > Harsha > > On Thu, Apr 17, 2014 at 4:42 PM, Sajini De Silva <[email protected]> wrote: > >> Hi, >> >> I tried out example scenario in [1] and it gave me the following error. >> >> [2014-04-17 16:40:13,395] ERROR - ClientUtils The system cannot infer the >> transport information from the /services/MessageExpirationProxy URL. >> [2014-04-17 16:40:13,396] ERROR - Axis2Sender Unexpected error during >> sending message out >> org.apache.axis2.AxisFault: The system cannot infer the transport >> information from the /services/MessageExpirationProxy URL. >> at >> org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:81) >> at >> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:115) >> at >> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >> at >> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482) >> at >> org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59) >> at >> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338) >> at >> org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:94) >> at >> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) >> 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.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) >> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >> at >> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411) >> at >> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) >> at java.lang.Thread.run(Thread.java:662) >> >> What could be the issue here? >> >> >> [1]https://docs.wso2.org/display/IntegrationPatterns/Message+Expiration >> >> Thank you >> Sajini. >> -- >> Sajini De SIlva >> Software Engineer; WSO2 Inc.; http://wso2.com , >> Email: [email protected] >> Blog: http://sajinid.blogspot.com/ >> Git hub profile: https://github.com/sajinidesilva >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Harsha Kumara > Software Engineer, WSO2 Inc. > Mobile: +94775505618 > Blog:harshcreationz.blogspot.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Chathurika Mahaarachchi* Software Engineer, QA. WSO2 Inc.: http://wso2.com/ lean.enterprise.middleware Mobile: +94718223950
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
