Hi,
I am not sure about exact code but if you could help remediate it will help.
Here is existing code that works.
QName serviceName = new QName("http://webservice.mkyong.com/",
"ProductWebServiceService");
QName portName = new QName("http://webservice.mkyong.com/",
"ProductWebServicePort");
Service service = Service.create(new
URL("http://localhost:8080/mkyong_webapp/wsdl/ProductWebService.wsdl"),
serviceName);
Dispatch<SOAPMessage> dispatch = service.createDispatch(portName,
SOAPMessage.class, Service.Mode.MESSAGE);
Regards,
Miten.
--
View this message in context:
http://cxf.547215.n5.nabble.com/generate-wsdl-and-client-Dispatch-for-jax-ws-Provider-tp5655967p5661676.html
Sent from the cxf-user mailing list archive at Nabble.com.