public void testAny() throws Exception {
URL wsdl = getClass().getResource("/wsdl/any.wsdl");
assertNotNull(wsdl);
SOAPService ss = new SOAPService(wsdl, serviceName);
Greeter port = ss.getSoapPort();
updateAddressPort(port, PORT);
List<Port> any = new ArrayList<Port>();
Port anyPort = new Port();
Port anyPort1 = new Port();
JAXBElement<String> ele1 = new JAXBElement<String>(
new QName("http://apache.org/hello_world_soap_http/other", "port"),
String.class, "hello");
anyPort.setAny(ele1);
JAXBElement<String> ele2 = new JAXBElement<String>(
new QName("http://apache.org/hello_world_soap_http/other", "port"),
String.class, "Bon");
anyPort1.setAny(ele2);
any.add(anyPort);
any.add(anyPort1);
String rep = port.sayHi(any);
assertEquals(rep, "helloBon");
}