geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r541020 - /geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java
Date Wed, 23 May 2007 18:46:41 GMT
Author: gawor
Date: Wed May 23 11:46:40 2007
New Revision: 541020

URL: http://svn.apache.org/viewvc?view=rev&rev=541020
Log:
pass service name hint

Modified:
    geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java

Modified: geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java?view=diff&rev=541020&r1=541019&r2=541020
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java
Wed May 23 11:46:40 2007
@@ -303,18 +303,11 @@
         
         // set wsdl service
         if (portInfo.getWsdlService() == null) {
-            // TODO: get it from the class
+            generator.setWsdlService(new QName(JAXWSUtils.getServiceName(serviceClass)));
         } else {
             generator.setWsdlService(portInfo.getWsdlService());
         }
-        
-        // set wsdl port
-        if (portInfo.getWsdlPort() == null) {
-            // TODO: get it from the class
-        } else {
-            generator.setWsdlPort(portInfo.getWsdlPort());
-        }
-        
+                
         String wsdlFile = generator.generateWsdl(module, serviceClass.getName(), module.getEarContext(),
portInfo);
         portInfo.setWsdlFile(wsdlFile);
         



Mime
View raw message