You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by TimShiu <ti...@ssc-ltd.com> on 2011/07/19 05:34:35 UTC
Create WebService by using CXF
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.
Re: Create WebService by using CXF
Posted by TimShiu <ti...@ssc-ltd.com>.
Thanks a lot for your prompt reply.
Actually it is a wsdl file that have used a xsl to transform the layout.
If you view the source of the page, you can get the actual wsdl.
Anyway, I will visit the site to study the way to generate web service.
Many thanks for your help.
--
Tim.Shiu
--
View this message in context: http://cxf.547215.n5.nabble.com/Create-WebService-by-using-CXF-tp4610900p4610963.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Create WebService by using CXF
Posted by Glen Mazza <gm...@talend.com>.
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