del.icio.us Digg DZone Reddit StumbleUpon
Make Web Services Transparent with Spring 2.5 and Apache CXF 2.0 - Willie Wheeler
« Previous | 1 | 2 | 3 | 4

Try It Out

Your application's view messages functionality should now work. Start up both your web service and your application. Then point your browser to

http://localhost:8080/cxf-client-example/viewMessages.do

(well, substitute in your host, port and context path!) and you should see the pair of hardcoded messages that we created in the last article:

Screenshot

If you got the screen above, then it's working! Your application is pulling the messages from a web service, and transparently so. If you decide you don't want to use web services, no problem: just pull the web service out and wire the service bean right into your MVC controller or other client class.

I hope you found this useful. As always let me know if you have comments, questions or corrections.

Resources

Update (2008-09-03): Sam Brodkin was kind enough to create a Maven project for this article. Thanks Sam!

Social bookmarks: del.icio.us Digg DZone Reddit StumbleUpon
« Previous | 1 | 2 | 3 | 4
Show comments (15)

Post a comment

Your name:
Your e-mail address (won't be displayed):
Your web site (optional):
example: www.xyz.com
Your comment:
Please help us prevent comment spam:
Spring in Practice
My brother and I are writing Spring in Practice for Manning!

What's New?

2008-10-20 - I've added a new mailing list feature to the site. Sign up to receive e-mail updates about new articles.
2008-09-30 - We've released chapter 4 (User registration) and chapter 5 (Authentication) of Spring in Practice.
2008-09-11 - By popular demand, I've added an RSS feed to the site.
Home | Consulting | Tech Articles | Mailing List | About | Contact | Spring Blog
Copyright © 2008 Wheeler Software, LLC.