QName serviceQName = new QName("http://test/", "EchoService");
QName portQName = new QName("http://test/", "EchoServicePort");
public void testJAXBResolution() {
try {
ObjectFactory factory = new ObjectFactory();
EchoString request = factory.createEchoString();
request.setInput("Operation resolution JAXB test");
JAXBContext jbc = JAXBContext.newInstance(EchoString.class);
Service service = Service.create(wsdlDocumentLocation, serviceQName);
Dispatch<Object> dispatch = service.createDispatch(portQName, jbc, Service.Mode.PAYLOAD);