Author: hiranya
Date: Thu May 19 08:44:55 2011
New Revision: 1124602
URL: http://svn.apache.org/viewvc?rev=1124602&view=rev
Log:
Fixing an issue with generating endpoints for proxy services in the group
Modified:
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
Modified:
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java?rev=1124602&r1=1124601&r2=1124602&view=diff
==============================================================================
---
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
(original)
+++
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
Thu May 19 08:44:55 2011
@@ -575,6 +575,9 @@ public class ProxyService implements Asp
proxyServiceGroup.addService(proxyService);
axisCfg.addServiceGroup(proxyServiceGroup);
} else {
+ // First set the parent of the service - Otherwise there's
an issue
+ // generating endpoints
+
proxyService.setParent(axisCfg.getServiceGroup(serviceGroup));
// Simply add the service to the existing group
axisCfg.addServiceToExistingServiceGroup(proxyService,
serviceGroup);
}