axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl JavaUndeployWriter.java JavaWriter.java
Date Thu, 06 Dec 2001 15:49:42 GMT
butek       01/12/06 07:49:42

  Modified:    java/src/org/apache/axis/wsdl JavaUndeployWriter.java
                        JavaWriter.java
  Log:
  A little more undeploy.wsdd cleanup.
  
  Revision  Changes    Path
  1.7       +1 -2      xml-axis/java/src/org/apache/axis/wsdl/JavaUndeployWriter.java
  
  Index: JavaUndeployWriter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/JavaUndeployWriter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JavaUndeployWriter.java	2001/12/06 15:34:04	1.6
  +++ JavaUndeployWriter.java	2001/12/06 15:49:42	1.7
  @@ -134,8 +134,7 @@
   
           boolean isRPC = (bEntry.getBindingStyle() == BindingEntry.STYLE_RPC);
   
  -        pw.println("  <service name=\"" + serviceName
  -                + "\" provider=\"" + (isRPC ? "java:RPC" : "java:MSG") + "\">");
  +        pw.println("  <service name=\"" + serviceName + "\">");
           pw.println("  </service>");
       } //writeDeployPort
   
  
  
  
  1.13      +9 -3      xml-axis/java/src/org/apache/axis/wsdl/JavaWriter.java
  
  Index: JavaWriter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/JavaWriter.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JavaWriter.java	2001/12/06 15:34:04	1.12
  +++ JavaWriter.java	2001/12/06 15:49:42	1.13
  @@ -298,9 +298,15 @@
           }
           pw.println(JavaUtils.getMessage("deploy09"));
           pw.println();
  -        pw.println("<" + deploymentOpName + "ment");
  -        pw.println("    xmlns=\"http://xml.apache.org/axis/wsdd/\"");
  -        pw.println("    xmlns:java=\"http://xml.apache.org/axis/wsdd/providers/java\">");
  +        if ("deploy".equals(deploymentOpName)) {
  +            pw.println("<deployment");
  +            pw.println("    xmlns=\"http://xml.apache.org/axis/wsdd/\"");
  +            pw.println("    xmlns:java=\"http://xml.apache.org/axis/wsdd/providers/java\">");
  +        }
  +        else {
  +            pw.println("<undeployment");
  +            pw.println("    xmlns=\"http://xml.apache.org/axis/wsdd/\">");
  +        }
       } // initializeDeploymentDoc
   
       /**
  
  
  

Mime
View raw message