antelder    2002/11/15 04:56:25

  Modified:    java/src/org/apache/wsif/util WSIFUtils.java
  Log:
  Correctly unwrap a wrapped part with no parts (axis document style support)
  
  Revision  Changes    Path
  1.23      +1 -1      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.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- WSIFUtils.java    15 Nov 2002 09:31:57 -0000      1.22
  +++ WSIFUtils.java    15 Nov 2002 12:56:25 -0000      1.23
  @@ -1382,7 +1382,7 @@
                
                ComplexType ct = (ComplexType) children.get(0);
                SequenceElement[] se = ct.getSequenceElements();
  -             if (se == null || se.length<1) {
  +             if (se == null) {
                        throw new WSIFException("no sequence elements found on: " + 
ct);
                }
                
  
  
  


Reply via email to