axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Created: (AXIS-1377) newlines, indention .. added to SOAP messages -> breaks xml signature
Date Tue, 01 Jun 2004 05:19:00 GMT

  A new issue has been created in JIRA.

View the issue:

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

     Status: Unassigned
   Priority: Minor

    Project: Axis

   Reporter: Marcel Mueller

    Created: Mon, 31 May 2004 10:18 PM
    Updated: Mon, 31 May 2004 10:18 PM
Environment: Windows XP Prof,  Java SDK 1.4.2

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.



This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message