[ 
http://issues.apache.org/jira/browse/AXIS-2447?page=comments#action_12372498 ] 

Bjorn Townsend commented on AXIS-2447:
--------------------------------------

Werner,

Isn't this already fixed in 1.4-FINAL? Looks like you and Dims had a discussion 
about it back in October:

http://mail-archives.apache.org/mod_mbox/ws-fx-dev/200510.mbox/[EMAIL 
PROTECTED] 

Link to the revision:
http://svn.apache.org/viewcvs.cgi?rev=314867&view=rev 

Were there still problems still outstanding with this?

Thanks,
Bjorn

> Axis reformats documents when using MessageFactory.createMessage(byte[])
> ------------------------------------------------------------------------
>
>          Key: AXIS-2447
>          URL: http://issues.apache.org/jira/browse/AXIS-2447
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.3
>  Environment: Linux, JDK 1.4.2_07
>     Reporter: Werner Dittmann
>     Priority: Blocker

>
> WHen document is converted to a SOAP Message using the following code:
>         Canonicalizer c14n =
>                 
> Canonicalizer.getInstance(Canonicalizer.ALGO_ID_C14N_WITH_COMMENTS);
>         byte[] canonicalMessage = c14n.canonicalizeSubtree(doc);
>         ByteArrayInputStream in = new ByteArrayInputStream(canonicalMessage);
>         MessageFactory factory = MessageFactory.newInstance();
>         return factory.createMessage(null, in);
> The message factory is "javax.xml.soap.MessageFactory;", the doc is a signed
> document.
> Printing the message after retrieving it with getSOAPEnvelope().getAsDOM():
>  XMLUtils.PrettyElementToWriter(signedMsg.getSOAPEnvelope().getAsDOM(), new 
> PrintWriter(System.out));
>             
> shows that the methods inserted newlines at various places. This destroys 
> every
> signature created for that document.
> **** All WSS4J test cases fail with 1.3 * Axis 1.2.1 works perfectly with the 
> unaltered test cases ****

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to