I'm having utter hell calling a secure .Net based web service over SSL from a JBOSS 6 app. Following is the warning and error that's output to my logfile:
WARN [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl] (SMSSetupService-WorkerThread) No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}TransportBinding registered.
ERROR (SMSSetupService-WorkerThread) Exception during iteration.: javax.xml.ws.soap.SOAPFaultException: None of the policy alternatives can be satisfied.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146) [:2.3.1]
at $Proxy295.listAccounts2(Unknown Source) at com.ECNGateway.listAccounts(ECNGateway.java:17) [:]
Caused by: org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.
at org.apache.cxf.ws.policy.EndpointPolicyImpl.chooseAlternative(EndpointPolicyImpl.java:166) [:2.3.1]
at org.apache.cxf.ws.policy.EndpointPolicyImpl.finalizeConfig(EndpointPolicyImpl.java:146) [:2.3.1]
at org.apache.cxf.ws.policy.EndpointPolicyImpl.initialize(EndpointPolicyImpl.java:142) [:2.3.1]
Following is the policy section of the WSDL:
<wsp:Policy wsu:Id="SoapEndPoint_policy"><wsp:ExactlyOne><wsp:All><sp:TransportBinding><wsp:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken RequireClientCertificate="false"/></wsp:Policy></sp:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Policy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy></sp:Layout></wsp:Policy></sp:TransportBinding></wsp:All></wsp:ExactlyOne></wsp:Policy>
Can anyone out there offer any guidance in helping me towards a solution ? I've had no luck thus far in what I've found on various message boards. Thanks.
- CW