2 Replies Latest reply on Jan 1, 2008 2:44 PM by neilac333

    Web Service Clients in Seam

      Chapter 20 in the Seam documentation is dedicated to exposing POJOs as web services and integrating them into a conversational context. This should be helpful to me when I find myself publishing services.

      However, I also need to consume web services. This means, at least for me, the ability to read a published WSDL, generate classes from the schema portion of it, and exchange SOAP messages with the service by means of those generated classes. Does Seam currently offer a means of doing this? For those familiar with Spring Web Services, I have a bit of experience doing this with JAXB and the WebServiceTemplate:

      http://static.springframework.org/spring-ws/site/reference/html/client.html#client-web-service-template

      But I would like to see if I can pull off both the publishing and consumption of web services in Seam only.

      Thanks for any insight.

        • 1. Re: Web Service Clients in Seam
          pmuir

          I'm no expert on web services (Shane is currently on vacation) but I would take a look at JBossWS - this should allow you to consume WS.

          • 2. Re: Web Service Clients in Seam

            Alas, I am developing my application on WebLogic 9.2, so I don't think JBossWS is an option for me according to this:

            http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS

            Looks like I might just have to settle for a hybrid solution. Seam for publishing services and Spring Web Services for consuming them.

            Or just Spring for both depending on whichever makes most sense to me. The Seam integration with Spring might come in handy here.

            And seriously, Pete. Don't they ever give you a day off? Kids making Nikes in Indonesia for pennies have the day off!

            Of course, I suppose I can't really talk.

            Thanks. Happy New Year.