axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ow...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/base WSIFServiceImpl.java
Date Thu, 29 Aug 2002 12:20:24 GMT
owenb       2002/08/29 05:20:24

  Modified:    java/src/org/apache/wsif/base WSIFServiceImpl.java
  Log:
  Corrected checking for null binding in getPortTypeFromPortName
  
  Revision  Changes    Path
  1.26      +1 -1      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFServiceImpl.java
  
  Index: WSIFServiceImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFServiceImpl.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WSIFServiceImpl.java	16 Aug 2002 09:41:59 -0000	1.25
  +++ WSIFServiceImpl.java	29 Aug 2002 12:20:24 -0000	1.26
  @@ -351,7 +351,7 @@
                   "Port '" + portName + "' cannot be found in the service");
           }
           Binding binding = port.getBinding();
  -        if (port == null) {
  +        if (binding == null) {
               throw new WSIFException("No binding found for port '" + portName + "'");
           }
           PortType pt = binding.getPortType();
  
  
  

Mime
View raw message