Hi Dimuthu, If you need to expose a proxy service via local transport too, You need to mention that when you create the proxy service. But you should be able to invoke a proxy service via local transport within a proxy service which is exposed only http and https.
Thanks, Nuwanw On Fri, Nov 22, 2013 at 4:53 PM, Dimuthu De Lanerolle <[email protected]>wrote: > We have implemented a test class to automate ESB - Local transport > scenario. This test class will test the local transport feature among three > proxy services. In the first place the test will enable 'Non Blocking Local > Transport' of the esb server and will create three proxy services which > will use local transport feature to transfer data within them. However we > are in doubt whether we need to mention transport as 'local' when we create > proxy services. Below is the source of the second proxy service . Do we > need to mention transport as 'local' explicitly here or would it be fine to > keep it as 'https http' ? > > <proxy xmlns="http://ws.apache.org/ns/synapse" name="SecondProxy" > transports=*"https http"* startOnLoad="true" trace="disable"> > <target> > <endpoint name="ep2"> > <address uri="local://services/StockQuoteProxy"/> > </endpoint> > <inSequence> > <log level="full"/> > <log level="custom"> > <property name="SecondProxy" value="In sequence of > Second proxy invoked!"/> > </log> > </inSequence> > <outSequence> > <log level="custom"> > <property name="SecondProxy" value="Out sequence of > Second proxy invoked!"/> > </log> > <send/> > </outSequence> > </target> > <publishWSDL > uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/> > </proxy> > > Regards > > > -- > Dimuthu De Lanerolle > Software Engineer > WSO2 Inc. > lean . enterprise . middlewear. > http://wso2.com/ > Tel. : +94 11 2145345 Fax : +94 11 2145300 email : [email protected] > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
