[
https://issues.apache.org/jira/browse/GERONIMO-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598351#action_12598351
]
Jarek Gawor commented on GERONIMO-4029:
---------------------------------------
This is a bug in Axis2 SAAJ implementation. Here's the Axis2 bug report:
https://issues.apache.org/jira/browse/AXIS2-3808
> Transforming from DOM Document to SAAJ SOAPBody throws TransformerException
> ---------------------------------------------------------------------------
>
> Key: GERONIMO-4029
> URL: https://issues.apache.org/jira/browse/GERONIMO-4029
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: webservices
> Affects Versions: 2.0.2
> Environment: OS X, JDK 1.5, Geronimo 2.0.2
> Reporter: Arjen Poutsma
> Attachments: saaj-test.zip
>
>
> When running the following program within Geronimo:
> {noformat}
> MessageFactory messageFactory = MessageFactory.newInstance();
> Transformer transformer = TransformerFactory.newInstance().newTransformer();
> SOAPMessage message = messageFactory.createMessage();
> Document document = createDocument();
> SOAPBody body = message.getSOAPBody();
> transformer.transform(new DOMSource(document), new DOMResult(body));
> {noformat}
> a TransformerException is thrown on the last line. The attached zip file
> contains a simple Servlet which can be used to reproduce this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.