ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/util WSIFUtils.java
Date Fri, 30 May 2003 10:38:02 GMT
antelder    2003/05/30 03:38:02

  Modified:    java/src/org/apache/wsif/util WSIFUtils.java
  Log:
  Fix to find the correct operation with output message name as null or ""
  
  Revision  Changes    Path
  1.39      +7 -3      xml-axis-wsif/java/src/org/apache/wsif/util/WSIFUtils.java
  
  Index: WSIFUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/WSIFUtils.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- WSIFUtils.java	1 Apr 2003 12:45:56 -0000	1.38
  +++ WSIFUtils.java	30 May 2003 10:38:01 -0000	1.39
  @@ -1287,9 +1287,13 @@
               null : 
               bop.getBindingOutput().getName();
            if ((inName == null) ? binName == null : inName.equalsIgnoreCase(binName)) {
  -            if ((outName == null)
  -               ? boutName == null
  -               : outName.equalsIgnoreCase(boutName)) {
  +         	boolean outNamesMatch = true;
  +         	if (outName == null || outName.length() < 1) {
  +				outNamesMatch = (boutName == null || boutName.length() < 1);
  +         	} else {
  +         		outNamesMatch= outName.equalsIgnoreCase(boutName);
  +         	}
  +            if (outNamesMatch) {
                  if ( choosenOp == null ) {
                     choosenOp = bop;
                  } else {
  
  
  

Mime
View raw message