Dispatch<Object> dispatch = service.createDispatch(
QNAME_PORT, jbc, Mode.PAYLOAD);
// Create the JAX-B object that will hold the data
ObjectFactory factory = new ObjectFactory();
AddEntry request = factory.createAddEntry();
AddressBookEntry content = factory.createAddressBookEntry();
content.setFirstName("Ron");
content.setLastName("Testerson");
content.setPhone("512-459-2222");
// Since this is a doc/lit wrapped WSDL, we need to set the
// data inside of a request wrapper element.
request.setEntry(content);
AddEntryResponse response = (AddEntryResponse) dispatch.invoke(request);
// Validate the results
assertNotNull(response);