How can I implement the bindings declared in the wsit-client.xml of Metro in a servlet deployed in JBoss6? I need to use a remote webservice that uses SOAP. I have obtained a war deployment that was created for Glassfish and Metro. I have read the Metro would not work in JBoss6 so I the classes with wsconsume.sh and a servlet that invokes the port of the service. I am missing some configuration/code for setting the security/certificates for the service. I am getting the following error:
[org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}SymmetricBinding registered.
[org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}EndorsingSupportingTokens registered.
[org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}Wss11 registered.
[org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (http-0.0.0.0-8443-1) No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}Trust10 registered.
ERROR [STDERR] (http-0.0.0.0-8443-1) javax.xml.ws.soap.SOAPFaultException: None of the policy alternatives can be satisfied.