//TODO test fault exceptions
DynamicClientFactory dcf = DynamicClientFactory.newInstance();
Client client = dcf.createClient(wsdlUrl, serviceName, portName);
updateAddressPort(client, PORT);
client.invoke("greetMe", "test");
Object[] result = client.invoke("sayHi");
assertNotNull("no response received from service", result);
assertEquals("Bonjour", result[0]);
//TODO: the following isn't a real test. We need to test against a service
// that would actually notice the difference. At least it ensures that
// specifying the property does not explode.