axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kei...@apache.org
Subject svn commit: r552780 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAllAxisServicesBuilder.java
Date Tue, 03 Jul 2007 10:58:27 GMT
Author: keithc
Date: Tue Jul  3 03:58:26 2007
New Revision: 552780

URL: http://svn.apache.org/viewvc?view=rev&rev=552780
Log:
Fixing issue in /WSDL20ToAllAxisServicesBuilder. Previously it was unnecessarily creating
services for each endpoint. Fixing that problem.

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAllAxisServicesBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAllAxisServicesBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAllAxisServicesBuilder.java?view=diff&rev=552780&r1=552779&r2=552780
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAllAxisServicesBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAllAxisServicesBuilder.java
Tue Jul  3 03:58:26 2007
@@ -81,25 +81,12 @@
                 Service service = services[i];
                 // set the serviceName on the parent to setup call to populateService
                 serviceName = service.getName();
-                Endpoint[] endpoints = service.getEndpoints();
-                for (int j = 0; j < endpoints.length; j++) {
-                    interfaceName = endpoints[j].getName().toString();
-                    // start with a fresh axisService
-                    this.axisService = new AxisService();
-                    // now that serviceName and interfaceName are set, call up to the
-                    // parent class to populate this service.                   
+                this.axisService = new AxisService();
                     AxisService retAxisService = populateService();
                     if (retAxisService != null) {
-                        // since this AxisService really represents the wsdl
-                        // port, change the name
-                        // from wsdl service name to port name.
-                        // TODO: mangle name?
-                        retAxisService.setName(retAxisService.getName() + "$" +
-                                interfaceName); // TODO: mangle name????
                         axisServices.add(retAxisService);
                     } // end if axisService was returned
                 } // end for all ports of a service
-            } // end for all services in the wsdl
             if (log.isDebugEnabled()) {
                 log.debug("Exit: populateAllServices.");
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message