Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

easiest way to do this web service ?

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring-WS?
 
KrishnaPrasad raghavan
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic