I have updated the tests to get the content out of Source objects and compare the contents. I have the following StreamSource as input:
new StreamSource(new StringReader("<a>A</a>")). The content I am from this source is as follows: <?xml version="1.0" encoding="UTF-8"?> <a>A</a> I have a service method that returns a copy of the source that is passed to it. The source that is returned when the service method is invoked over binding.ws is giveing the following content: <?xml version="1.0" encoding="UTF-8"?> <return xmlns="http://jaxb.databindings.itest.sca.tuscany.apache.org/ ">A</return> Notice the namespace and the change in the root tag. Any suggestions on changing the test?