Error Message :
java.lang.RuntimeException: org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.
Version 4 of the RA Web Service SOAP Agent results in the above Java Exception when creating a SOAP Web Service JOBS object against a MS Dynamics AX 2012R2 server.
- Create a CONN.WEBSERVICE.SOAP with these settings:
- Then use it in a RA Webservice SOAP job.
- Select an operation
Actual: The error "java.lang.RuntimeException: java.lang.RuntimeException: org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied." is displayed.
Expected: The Job should be created with no errors.
OS Version: N/A
Root Cause: RA Webservice SOAP 4.0 doesn't allows XML to be send as SOAP request.
Update to a fix version listed below or a newer version if available where the RA Web Service SOAP version allows any XML to be sent as a SOAP request.
Fix Status: Released
RA Web Service SOAP 4.1.0 - Available