Do not copy the complete file as it contain the complete run-time configuration. Synapse artifacts has been logically broken into different segments, Therefore, you have to just copy into new file StockQuoteProxy.xml in <SYNAPSE_HOME>/repository/conf/synapse-config/proxy-services
[1] <proxy name="StockQuoteProxy"> <target> <endpoint> <address uri=" http://localhost:9000/services/SimpleStockQuoteService"/> </endpoint> <outSequence> <send/> </outSequence> </target> <publishWSDL uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/> </proxy> On Tue, Jul 18, 2017 at 1:57 AM, Nishantha Pradeep <ucscnishan...@gmail.com> wrote: > did you mean copy XML configuration such as synapse_sample_150.xml to > above-mentioned location? > > On Tue, Jul 18, 2017 at 1:14 PM, Vanjikumaran Sivajothy <va...@apache.org> > wrote: > > > On Tue, Jul 18, 2017 at 12:33 PM, Nishantha Pradeep < > > ucscnishan...@gmail.com > > > wrote: > > > > > Hi > > > > > > Is it possible to dynamically add proxy services to synapse? > > > > > > Yes, It is possible since synapse supports the hot deployment. you have > to > > generate/create your proxy service in > > <SYNAPSE_HOME>/repository/conf/synapse-config/proxy-services and Hot > > deployment will deploy with out restart the server. > > > > > > > > > . If it is > > > possible, I would be very thankful if someone could direct me to a > > relevant > > > documentation. > > > > > > > > > > For example, a Java program can call an API provided by synapse with > > proxy > > > configuration data and synapse registers the proxy service. Proxy > > services > > > should automatically be restarted in case of a synapse restart. > > > > > > -Thanks > > > Nishantha > > > > > > -- Best Regards, Vanji