axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ven...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava JavaServiceImplWriter.java
Date Wed, 25 May 2005 07:30:58 GMT
venkat      2005/05/25 00:30:58

  Modified:    java/src/org/apache/axis/wsdl/toJava
                        JavaServiceImplWriter.java
  Log:
  Patch from Eric for AXIS-1978.
  
  Revision  Changes    Path
  1.45      +4 -2      ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java
  
  Index: JavaServiceImplWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- JavaServiceImplWriter.java	20 Jan 2005 21:35:22 -0000	1.44
  +++ JavaServiceImplWriter.java	25 May 2005 07:30:58 -0000	1.45
  @@ -601,15 +601,17 @@
                   "    public void setEndpointAddress(java.lang.String portName, java.lang.String
address) throws "
                   + javax.xml.rpc.ServiceException.class.getName() + " {");
   
  +        pw.println("        ");
           for (Iterator p = portNames.iterator(); p.hasNext();) {
               String name = (String) p.next();
   
  -            pw.println("        if (\"" + name + "\".equals(portName)) {");
  +            pw.println("if (\"" + name + "\".equals(portName)) {");
               pw.println("            set" + name + "EndpointAddress(address);");
               pw.println("        }");
  +            pw.println("        else ");
           }
   
  -        pw.println("        else { // Unknown Port Name");
  +        pw.println("{ // Unknown Port Name");
           pw.println("            throw new "
                   + javax.xml.rpc.ServiceException.class.getName() + "(\" "
                   + Messages.getMessage("unknownPortName")
  
  
  

Mime
View raw message