aspose file tools*
The moose likes Web Services and the fly likes easiest way to do this web service ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "easiest way to do this web service ?" Watch "easiest way to do this web service ?" New topic
Author

easiest way to do this web service ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I have a Spring framework based web application running in Tomcat server. Now I need expose some functions as a web service. Question is, in this scenario, what is the easiest way to do this web service ?

IDE is Eclipse.


Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42601
    
  65
Spring-WS?


Ping & DNS - my free Android networking tools app
KrishnaPrasad raghavan
Ranch Hand

Joined: Oct 28, 2008
Posts: 46
Spring WS... Alright. I did some work some time ago on this. Spring WS relies on WSDL for the web service configurations. It also has a lot of config files. Its not easy or difficult. You need to play around with the connectors. Whats your question. Do you want to expose service using Spring WS?.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I haven't tried Spring WS yet, so I cannot say that I have a better alternative.
I just wanted to say that it is possible to install Metro in Tomcat and that you then can develop code-first JAX-WS web services, if you really want to avoid having to deal with a WSDL.
However, to ensure interoperability, you should consider at least examining the WSDL that your code-first web service produces.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
Consider Paul's rocket mass heater.
 
subject: easiest way to do this web service ?