views:

694

answers:

1

Do you know a tutorial how to create a CXF soap web service from existing Java code and embed it in Tomcat, and also generate a wsdl file so that any .NET system would be able to generate client code easily?

I miss that WSDL creation point in, for example this http://www.ibm.com/developerworks/library/ws-pojo-springcxf/ tutorial. No wsdl file is generated. But still it should be present in my case to provide system interoperability.

+1  A: 

Hi,

Do you know a tutorial how to create a CXF soap web service from existing Java code and embed it in Tomcat,

Embedding to Tomcat (to avoid using spring, opening own port): Servlet Transport

also generate a wsdl file

You java code 2 wsdl also maven plugin exists. But you can get the wsdl from working service by http://host:port/servicename?wsdl url and provide it ;)

zaletniy