1 Reply Latest reply on Apr 17, 2014 7:03 AM by mmusaji

    JBoss 6.1 Final and stand-alone Apache CXF client

    ramboid

      How can I get a servlet client, running in JBoss6, to run a java client that works with Apache CXF v2.4.6?  I have a stand-alone java client that calls a remote webservice successfully.  I built the client with apache CXF v2.4.6 as well as newer versions.  If I cur and paste the code in the doXXXX method of a servlet (JBoss 6.1 Final), the logs show several errors.  Do I need to use a different version of JBoss?  Or should I use JBoss7 which I believes comes with Apache CXF v2.4.6?

      The error log is as follows:

      014-02-04 17:46:28,100 WARN  [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schema s.xmlsoap.org/ws/2005/07/securitypolicy}SymmetricBinding registered.
      2014-02-04 17:46:28,103 WARN  [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schema s.xmlsoap.org/ws/2005/07/securitypolicy}SymmetricBinding registered.
      2014-02-04 17:46:28,103 WARN  [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schema s.xmlsoap.org/ws/2005/07/securitypolicy}SymmetricBinding registered.
      2014-02-04 17:46:28,103 WARN  [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schema s.xmlsoap.org/ws/2005/07/securitypolicy}Trust10 registered.

      2014-02-04 17:46:28,146 ERROR [STDERR] (http-0.0.0.0-8443-1) javax.xml.ws.soap.SOAPFaultException: None of the policy alternatives can be satisfied.

      2014-02-04 17:46:28,147 ERROR [STDERR] (http-0.0.0.0-8443-1)at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)