[jbossws-dev] MTOM test
Thomas Diesler
thomas.diesler at redhat.com
Tue Nov 14 08:54:04 EST 2006
Heiko,
what is this actually testing? AFICS, the content of getLegacyData() can
be anything.
public void testQuery() throws Exception
{
Query query = new Query("Peter", "Pan");
Employee employee = port.queryEmployee(query);
assertNotNull(employee);
assertNotNull(employee.getLegacyData());
StreamSource xmlStream =
(StreamSource)employee.getLegacyData().getContent();
IOUtils.copyStream(System.out, xmlStream.getInputStream());
}
cheers
-thomas
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
More information about the jbossws-dev
mailing list