// create the operation
// note that we have two operations with the same name, so we need to specify the
// name of the input and output messages as well
WSIFOperation operation = port.createOperation("addEntry","AddEntryFirstAndLastNamesRequest",null);
// create the input message associated with this operation
WSIFMessage input = operation.createInputMessage();
// populate the input message
input.setObjectPart("firstName","Jane");
input.setObjectPart("lastName","White");
// create an address object to populate the input
Address address = new Address();
address.setStreetNum(20);
address.setStreetName("Peachtree Avenue");
address.setCity("Atlanta");
address.setState("GA");
address.setZip(39892);
Phone phone = new Phone();
phone.setAreaCode(701);
phone.setExchange("555");
phone.setNumber("8721");
address.setPhoneNumber(phone);
input.setObjectPart("address",address);
// do the invocation
System.out.println("Adding address for Jane White...");
operation.executeInputOnlyOperation(input);
} catch (WSIFException we) {
System.out.println("Got exception from WSIF, details:");