WSIFService service = factory.getService(wsdlLocation, null, // serviceNS
null, // serviceName
"http://wsifservice.addressbook/", // portTypeNS
"AddressBook" ); // portTypeName
AddressBook abStub = (AddressBook) service.getStub(portName, AddressBook.class);
abStub.addEntry(name1, addr1);
abStub.addEntry(firstName2, lastName2, addr2);
Address resp1 = abStub.getAddressFromName(name1);
assertTrue(new AddressUtility(addr1).equals(resp1));
Address resp2 = abStub.getAddressFromName(firstName2 + " " + lastName2);
assertTrue(new AddressUtility(addr2).equals(resp2));
if (TestUtilities.areWeTesting("async")) {
testAsyncOPs( service, portName, name1, addr1 );
testAsyncOPs( service, portName, firstName2 + " " + lastName2, addr2 );