This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?)
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.
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.