[ https://issues.apache.org/jira/browse/SYNAPSE-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15779457#comment-15779457 ]
Chanaka Fernando commented on SYNAPSE-1066: ------------------------------------------- [~vanjikuma...@gmail.com] You are missing the synapse namespace in the configuration. Please add the following to the root XML tag as an attribute. xmlns="http://ws.apache.org/ns/synapse" > ERROR ProxyServiceFactory Target is required for a Proxy service definition > --------------------------------------------------------------------------- > > Key: SYNAPSE-1066 > URL: https://issues.apache.org/jira/browse/SYNAPSE-1066 > Project: Synapse > Issue Type: Bug > Reporter: Vanjikumaran Sivajothy > Assignee: Hiranya Jayathilaka > Attachments: StockQuoteProxy.xml > > > 1) Create a proxy > 2) Place it in > synapse-2.2.0-SNAPSHOT/repository/conf/synapse-config/proxy-services > 3) Start the server > 4 > {code} > 2016-12-26 18:38:12,079 [-] [main] ERROR ProxyServiceFactory Target is > required for a Proxy service definition > 2016-12-26 18:38:12,081 [-] [main] WARN SynapseXMLConfigurationFactory Proxy > Service configuration: StockQuoteProxy cannot be built - Continue in > fail-safe mode > org.apache.synapse.SynapseException: Target is required for a Proxy service > definition > at > org.apache.synapse.config.xml.ProxyServiceFactory.handleException(ProxyServiceFactory.java:363) > at > org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:219) > at > org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142) > at > org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.createProxyServices(MultiXMLConfigurationBuilder.java:244) > at > org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.getConfiguration(MultiXMLConfigurationBuilder.java:130) > at > org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:100) > at > org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:546) > at org.apache.synapse.ServerManager.start(ServerManager.java:177) > at org.apache.synapse.SynapseServer.main(SynapseServer.java:68) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org