You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/06/09 21:42:10 UTC

[jira] Closed: (AXIS-1377) newlines, indention .. added to SOAP messages -> breaks xml signature

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Wed, 9 Jun 2004 12:40 PM

Added property - PROP_DISABLE_PRETTY_XML
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1377

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1377
    Summary: newlines, indention .. added to SOAP messages -> breaks xml signature
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Axis
 Components: 
             Serialization/Deserialization
   Fix Fors:
             current (nightly)
   Versions:
             1.1

   Assignee: 
   Reporter: Marcel Mueller

    Created: Mon, 31 May 2004 10:18 PM
    Updated: Wed, 9 Jun 2004 12:40 PM
Environment: Windows XP Prof,  Java SDK 1.4.2


Description:
Axis adds new lines and other issues to SOAP messages. This is a problem since I send a signed xml file via SOAP to an webservice. Just the xml file is signed not the whole SOAP message. The webservice can't verify the signature since the newlines are added. I debugged the code and found the problem. Class SOAPEnvelope for instance sets the flag pretty in org.apache.axis.encoding.SerializationContextImpl  before the content is serialized, that causes the trouble.  

This is hardcoded so I had to recompile some parts to get it working. 

This flag pretty in SerializationContextImpl might make sense in some cases. But it would be better that you can disable it from the outside somehow. The code in 1.2Beta looks pretty much the same so the issue is probably also there.

Cheers

Marcel


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira