axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/client Service.java
Date Mon, 10 May 2004 18:55:53 GMT
dims        2004/05/10 11:55:53

  Modified:    java/src/org/apache/axis/client Service.java
  Log:
  Fix build failure. (no idea how this slipped in)
  
  Revision  Changes    Path
  1.97      +5 -2      ws-axis/java/src/org/apache/axis/client/Service.java
  
  Index: Service.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Service.java,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- Service.java	10 May 2004 07:44:06 -0000	1.96
  +++ Service.java	10 May 2004 18:55:53 -0000	1.97
  @@ -425,10 +425,13 @@
               javax.xml.rpc.Stub stub = (javax.xml.rpc.Stub) Proxy.newProxyInstance(classLoader,
                       new Class[]{proxyInterface, javax.xml.rpc.Stub.class},
                       new AxisClientProxy(call, portName));
  -            ((org.apache.axis.client.Stub) stub).setPortName(portName);
  +            if(stub instanceof org.apache.axis.client.Stub){
  +                ((org.apache.axis.client.Stub) stub).setPortName(portName);
  +            }
               return (Remote) stub;
           } catch (Exception e) {
  -            throw new ServiceException(e);
  +            throw new ServiceException(
  +                    Messages.getMessage("wsdlError00", "" + "", "\n" + e));
           }
       } // getPort
   
  
  
  

Mime
View raw message