geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r541042 - in /geronimo/server/trunk/modules: geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
Date Wed, 23 May 2007 19:36:45 GMT
Author: gawor
Date: Wed May 23 12:36:44 2007
New Revision: 541042

URL: http://svn.apache.org/viewvc?view=rev&rev=541042
Log:
revert some changes

Modified:
    geronimo/server/trunk/modules/geronimo-axis2-builder/src/main/java/org/apache/geronimo/axis2/builder/Axis2Builder.java
    geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.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=541042&r1=541041&r2=541042
==============================================================================
--- 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 12:36:44 2007
@@ -307,6 +307,13 @@
         } 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);

Modified: geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java?view=diff&rev=541042&r1=541041&r2=541042
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/WsdlGenerator.java
Wed May 23 12:36:44 2007
@@ -209,6 +209,19 @@
         arguments.add("-wsdl");
         arguments.add("-d");
         arguments.add(moduleBaseDir.getAbsolutePath());
+        
+        QName serviceName = getWsdlService();
+        if (serviceName != null) {
+            arguments.add("-servicename");
+            arguments.add(serviceName.toString());
+        }
+
+        QName portName = getWsdlPort();
+        if (portName != null) {
+            arguments.add("-portname");
+            arguments.add(portName.toString());
+        }
+        
         arguments.add(sei);
         
         return arguments.toArray(new String[]{});



Mime
View raw message