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
Show replies by date