The link below is not a WSDL; that's a prettily formatted HTML document nice for humans but unusable with any wsdl-to-java generator--hopefully you have an actual WSDL someplace. This link: http://www.jroller.com/gmazza/entry/web_service_tutorial can provide you information on creating your web service.

Regards,
Glen

On 07/18/2011 11:34 PM, TimShiu wrote:
Hi,

I'm new to CXF and would like to ask a question about how to generate web
service in server from a wsdl file.

I got a wsdl file from internet and would like to implement the services
defined in the wsdl.

First of all, I use the wsdl2java function in CXF to generate the Java
classes and put it to a dynamic web project in eclipse. However the project
can just show the endpoints but there is no web service available for
calling.

I will like to ask in what way I can generate the web service with CXF by
using a wsdl file? Or is it possible to do it in this way?

The wsdl file I'm using is:
http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl

Thanks in advance.

--
Tim.Shiu

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Create-WebService-by-using-CXF-tp4610900p4610900.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Application Integration Division
Talend (http://www.talend.com/ai)
blog: http://www.jroller.com/gmazza


Reply via email to