Issue Details (XML | Word | Printable)

Key: GERONIMO-4029
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jarek Gawor
Reporter: Arjen Poutsma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Geronimo

Transforming from DOM Document to SAAJ SOAPBody throws TransformerException

Created: 18/May/08 11:37 PM   Updated: 16/Dec/08 10:05 PM
Return to search
Component/s: webservices
Affects Version/s: 2.0.2
Fix Version/s: 2.2
Security Level: public (Regular issues)

Time Tracking:
Not Specified

File Attachments:
  Size
Zip Archive saaj-test.zip 2008-05-18 11:39 PM Arjen Poutsma 240 kB
Environment: OS X, JDK 1.5, Geronimo 2.0.2

Resolution Date: 16/Dec/08 10:05 PM


 Description  « Hide
When running the following program within Geronimo:
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));

a TransformerException is thrown on the last line. The attached zip file contains a simple Servlet which can be used to reproduce this.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.