]
Alessio Soldano updated JBWS-2186:
----------------------------------
Fix Version/s: jbossws-native-3.0.3
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
Fix For: jbossws-native-3.0.3
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: