snichol     2002/10/02 07:05:52

  Modified:    java/src/org/apache/soap/rpc RPCMessage.java
  Log:
  Do not emit a line separator after closing the response element.  This was
  being parsed as a text node child of the SOAP Body element by some
  implementations (SilkPerformer for .NET and Sun's SOAP tool kit were
  reported), so this change should improve interop.  See
  http://marc.theaimsgroup.com/?l=soap-dev&m=103335375422356&w=2
  for the mailing list thread.
  
  Revision  Changes    Path
  1.18      +1 -2      xml-soap/java/src/org/apache/soap/rpc/RPCMessage.java
  
  Index: RPCMessage.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/rpc/RPCMessage.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- RPCMessage.java   30 Aug 2002 21:39:00 -0000      1.17
  +++ RPCMessage.java   2 Oct 2002 14:05:52 -0000       1.18
  @@ -279,8 +279,7 @@
   
           sink.write("</" + 
                      (!ctx.getDocLitSerialization() ? targetObjectNSPrefix + ':' : 
"") +
  -                   methodName + suffix + '>' +
  -                   StringUtils.lineSeparator);
  +                   methodName + suffix + '>');
         } else {
           // Get the fault information.
           Fault fault = resp.getFault();
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to