tomj        02/02/21 14:16:17

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  Set the RPCElement encoding style from the call encoding style.
  
  There is some question if we want to set the SOAPEnvelope
  encoding style also.  Hopefully Glen can take a look at this
  and make it rational.
  
  In the mean time, this turns off encoding for literal services.
  
  Revision  Changes    Path
  1.76      +5 -2      xml-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- Call.java 20 Feb 2002 18:59:20 -0000      1.75
  +++ Call.java 21 Feb 2002 22:16:17 -0000      1.76
  @@ -1450,8 +1450,11 @@
               }
           }
   
  -        String uri = encodingStyle ;
  -        if (uri != null) reqEnv.setEncodingStyleURI(uri);
  +        // We want the body encoding style to be what the user set
  +        body.setEncodingStyle(encodingStyle);
  +        // Do we really want to set the envelope?
  +        if (encodingStyle != null)
  +            reqEnv.setEncodingStyleURI(encodingStyle);
   
           setRequestMessage(reqMsg);
   
  
  
  


Reply via email to