[ 
https://issues.apache.org/jira/browse/GERONIMO-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arjen Poutsma updated GERONIMO-4029:
------------------------------------

    Attachment: saaj-test.zip

> 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.

Reply via email to