• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring Roo and Spring WS

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm working with Web Services. I am studying Spring Web Services but I'd like use Spring Roo. Spring Roo has an add on or something like that in order to use Spring Ws?
Thanks! (The book is talking about this topic: Spring Ws?)
 
author
Posts: 63
Mac OS X Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will defer the WS talk to as I wonder if t is achievable via Spring Integration, but you can easily create an add-on that installs the spring-ws dependency and configures an application context.

For an example look at the Spring Roo Jms add-on source code. I would approach it in the same way as that add-on.

If this is a one-off configuration, and not something you want to write an add-on for, just mount spring-WS dependencies in your project Pom and configure the servlet in web.xml and the services appropriately.

REST support is built in to Spring Roo projects as it uses Spring MVC's RESTful controller support. This is not the case with SOAP services though.

Ken
 
author
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring Integration has support for web service adapter (checkout this article for a good example on WS: http://krams915.blogspot.com/2011/03/spring-integration-2-integrating-jdbc.html), but if you want to create a SOAP based web service as a one time requirement, I agree with Ken that doing outside Roo. I havent been creating any SOAP web services lately; I use Spring MVC to create REST web services which are easy to test as well, using a command line tool like cURL.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic