Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5.4
-
None
-
None
-
Java 6
Description
When performing transformation into SOAPMessage.getSOAPBody() the resulting message ends in the middle.
To make it even more complicated, it happens only if axis2-jaxws:1.5.4 is on the classpath.
private static final String INPUT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><plus xmlns=\"http://javacrumbs.net/calc\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><a>1</a><b>2</b></plus>";
@Test
public void testTransform() throws Exception
public String serialize(Source source) throws TransformerException
{ StringResult result = new StringResult(); transform(source, result); return result.toString(); } private void transform(Source source, Result result)
throws TransformerException, TransformerConfigurationException, TransformerFactoryConfigurationError
prints: <?xml version="1.0" encoding="UTF-8"?><plus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns=""><a xmlns="">1