You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by sc...@apache.org on 2005/04/14 21:07:44 UTC

svn commit: r161342 - incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java

Author: scamp
Date: Thu Apr 14 12:07:44 2005
New Revision: 161342

URL: http://svn.apache.org/viewcvs?view=rev&rev=161342
Log:
HERMES-12

Modified:
    incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java

Modified: incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java?view=diff&r1=161341&r2=161342
==============================================================================
--- incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java (original)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/tool/WsnWsdl2Java.java Thu Apr 14 12:07:44 2005
@@ -33,7 +33,7 @@
  */
 public class WsnWsdl2Java extends Wsdl2Java
 {
-
+    protected String WEBAPP_NAME = "hermes";
     public WsnWsdl2Java( File[] wsdlFiles, File outputDir, File[] classpath, Wsdl2JavaOptions options )
             throws Exception
     {
@@ -53,6 +53,11 @@
         ServiceProperties serviceProperties = super.buildServiceProperties(resourceDefinition, file, file1);
         serviceProperties.setNamespaceVersionHolder(WsnNamespaceVersionHolderImpl.class);//make sure to add different ones as new versions comeout
         return serviceProperties;
+    }
+
+    protected String getWebbappName()
+    {
+        return WEBAPP_NAME;
     }
 
     protected VelocityContext updateVelociyContext(VelocityContext velocityContext, ResourceDefinition resourceDef)



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