You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2010/06/21 14:44:59 UTC

svn commit: r956549 - /ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java

Author: vanto
Date: Mon Jun 21 12:44:59 2010
New Revision: 956549

URL: http://svn.apache.org/viewvc?rev=956549&view=rev
Log:
fixing ODE-853, and thus completing the upgrade to Axis2 1.5.1.

Modified:
    ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java

Modified: ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java
URL: http://svn.apache.org/viewvc/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java?rev=956549&r1=956548&r2=956549&view=diff
==============================================================================
--- ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java (original)
+++ ode/trunk/axis2/src/main/java/org/apache/ode/axis2/service/ManagementService.java Mon Jun 21 12:44:59 2010
@@ -87,6 +87,14 @@ public class ManagementService {
             def = wsdlReader.readWSDL(wsdlFile.toURI().toString());
             AxisService processService = ODEAxisService.createService(axisConfig, PM_SERVICE_NAME, PM_PORT_NAME,
                     PM_AXIS2_NAME, def, new DynamicMessageReceiver<ProcessManagement>(_processMgmt));
+            
+            /*
+             * XXX: Reparsing the WSDL is a workaround for WSCOMMONS-537 (see also ODE-853). When WSCOMMONS-537 is fixed
+             * we can safely remove the following line. 
+             */
+            def = wsdlReader.readWSDL(wsdlFile.toURI().toString());
+            /* end XXX */
+            
             AxisService instanceService = ODEAxisService.createService(axisConfig, IM_SERVICE_NAME, IM_PORT_NAME,
                     IM_AXIS2_NAME, def, new DynamicMessageReceiver<InstanceManagement>(_instanceMgmt));
             axisConfig.addService(processService);