This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Application Frameworks and the fly likes Calling webservice in Seam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Calling webservice in Seam" Watch "Calling webservice in Seam" New topic

Calling webservice in Seam

Allan Smith

Joined: Aug 18, 2005
Posts: 16
Hi there,

I think I'm in the right forum now. Admin can delete my other post, i posted it wrong. Sorry.

I'm currently playing around with Seam, the latest release. What I need to do is to call a webservice in my seam application, but I'm totally lost. For instance, I have a specific value, and I have to submit this value to a webservice after login to retrieve an object I need.

How would I do this?

Appreciate any help!

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17250

Well, my guess, would be create a backing bean. Assign the call to that backing bean's method, and in the method make the call to the Web Service. I would expect to see a seperate class for handling the Web Service call and all the work that it needs to do, including the marshalling, so that the fact that you are calling a Web Service is hidden from your App.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
subject: Calling webservice in Seam