• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

easiest way to do this web service ?

 
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring-WS?
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
reply
    Bookmark Topic Watch Topic
  • New Topic