[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2186) Transforming from SAAJ SOAPBody to StreamResult throws IndexOutOfBoundsException
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Wed Jun 11 12:37:17 EDT 2008
[ http://jira.jboss.com/jira/browse/JBWS-2186?page=all ]
Thomas Diesler updated JBWS-2186:
---------------------------------
Assignee: (was: Thomas Diesler)
> Transforming from SAAJ SOAPBody to StreamResult throws IndexOutOfBoundsException
> --------------------------------------------------------------------------------
>
> Key: JBWS-2186
> URL: http://jira.jboss.com/jira/browse/JBWS-2186
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-native
> Environment: OS X, JDK 1.5, JBoss AS 4.2.2
> Reporter: Arjen Poutsma
> Attachments: saaj-test.zip
>
>
> When running the following program within JBoss:
> 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));
> body = message.getSOAPBody();
> transformer.transform(new DOMSource(body), new StreamResult(System.out));
> a IndexOutOfBoundsException 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.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list