axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl JavaUndeployWriter.java JavaWriter.java
Date Thu, 06 Dec 2001 16:59:33 GMT
rubys       01/12/06 08:59:33

  Modified:    java/src/org/apache/axis/wsdl Tag: alpha-3
                        JavaUndeployWriter.java JavaWriter.java
  Log:
  Backport wsdl2java fixes for undeployment
  Submitted by:	Russell Butek
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.1   +2 -3      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.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- JavaUndeployWriter.java	2001/12/04 00:59:26	1.5
  +++ JavaUndeployWriter.java	2001/12/06 16:59:33	1.5.2.1
  @@ -99,7 +99,7 @@
        */
       protected void writeFileBody() throws IOException {
           writeDeployServices();
  -        pw.println("</deployment>");
  +        pw.println("</undeployment>");
           pw.close();
       } // writeFileBody
   
  @@ -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.11.2.1  +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.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- JavaWriter.java	2001/12/04 19:43:29	1.11
  +++ JavaWriter.java	2001/12/06 16:59:33	1.11.2.1
  @@ -298,9 +298,15 @@
           }
           pw.println(JavaUtils.getMessage("deploy09"));
           pw.println();
  -        pw.println("<deployment");
  -        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