cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imiten <imi...@yahoo.com>
Subject Re: generate wsdl and client (Dispatch) for jax-ws Provider
Date Tue, 24 Apr 2012 11:10:32 GMT
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.

Mime
View raw message