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/message SOAPBodyElement.java
Date Fri, 16 Jul 2004 16:07:01 GMT
dims        2004/07/16 09:07:00

  Modified:    java/src/org/apache/axis/message SOAPBodyElement.java
  Log:
  sometimes RPCElement can be the parent.
  
  Revision  Changes    Path
  1.36      +1 -1      ws-axis/java/src/org/apache/axis/message/SOAPBodyElement.java
  
  Index: SOAPBodyElement.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/SOAPBodyElement.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- SOAPBodyElement.java	27 Jun 2004 12:28:31 -0000	1.35
  +++ SOAPBodyElement.java	16 Jul 2004 16:07:00 -0000	1.36
  @@ -102,7 +102,7 @@
               log.warn(Messages.getMessage("bodyElementParent"));
               parent = ((SOAPEnvelope)parent).getBody();
           }
  -        if (!(parent instanceof SOAPBody)) {
  +        if (!(parent instanceof SOAPBody) && !(parent instanceof RPCElement)) {
               throw new IllegalArgumentException(Messages.getMessage("illegalArgumentException00"));
           }
           
  
  
  

Mime
View raw message