axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/client Stub.java
Date Tue, 10 Aug 2004 14:09:40 GMT
stevel      2004/08/10 07:09:40

  Modified:    java/src/org/apache/axis/client Stub.java
  Log:
  point out that setAttachments() is also fairly destructive.
  
  Revision  Changes    Path
  1.39      +7 -1      ws-axis/java/src/org/apache/axis/client/Stub.java
  
  Index: Stub.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/client/Stub.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- Stub.java	10 Aug 2004 14:07:48 -0000	1.38
  +++ Stub.java	10 Aug 2004 14:09:37 -0000	1.39
  @@ -398,8 +398,14 @@
           for(int i=0;i<headers.length;i++){
               call.addHeader(headers[i]);
           }
  -    }  
  +    }
   
  +    /**
  +     * copy the attachments from the stub to the call object. After doing so,
  +     * the local set of attachments are cleared.
  +     * @param call call object to configure
  +     * @throws AxisFault
  +     */
       protected void setAttachments(org.apache.axis.client.Call call) throws AxisFault {
           Object[] attachments = getAttachments();
           for(int i=0;i<attachments.length;i++){
  
  
  

Mime
View raw message