2 Replies Latest reply on Jul 28, 2008 7:21 PM by jfrankman

    Seam as webservice client. best strategy?

      What is the best way to have my Seam application consume another web service? I have been successful using an axis client to consume a web service, but I am more interested in using JAX-WS 2.0. However, I find that there is a conflict between the jbossejb3-all.jar and JAX-WS 2.0 because it looks like jbossejb2-all does not use JAXB 2.0 since I get the following error:

      java.lang.NoSuchMethodError: javax.xml.bind.JAXBContext.newInstance([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;

      If I do not want to use apache axis, what is the best way to generate a web service client and use it from within my Seam application? Should I try to make the JAX-WS work or would it be better to use JBossWS ?