You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by du...@apache.org on 2001/06/20 04:20:55 UTC

cvs commit: xml-soap/java/src/org/apache/soap/encoding/soapenc BeanSerializer.java

duftler     01/06/19 19:20:55

  Modified:    java/src/org/apache/soap/encoding/soapenc
                        BeanSerializer.java
  Log:
  Fixed a bug that prevented the client from using a BeanSerializer to
  serialize SOAP-encoded parameters within a Call labeled with the literalXML
  encoding style. This issue was raised by Dirck Hecking.
  
  Revision  Changes    Path
  1.6       +2 -2      xml-soap/java/src/org/apache/soap/encoding/soapenc/BeanSerializer.java
  
  Index: BeanSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/encoding/soapenc/BeanSerializer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BeanSerializer.java	2001/01/08 12:25:14	1.5
  +++ BeanSerializer.java	2001/06/20 02:20:53	1.6
  @@ -128,8 +128,8 @@
             // Serialize the property.
             Parameter param = new Parameter(propName, propType, propValue, null);
   
  -          xjmr.marshall(inScopeEncStyle, Parameter.class, param, null,
  -                        sink, nsStack, ctx);
  +          xjmr.marshall(Constants.NS_URI_SOAP_ENC, Parameter.class, param,
  +                        null, sink, nsStack, ctx);
   
             sink.write(StringUtils.lineSeparator);
           }