Policy Exception when using MS Dynamics AX 2012R2 SOAP Web Service with RA Web Service Agent v4
book
Article ID: 87945
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
Issue/Introduction
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.
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.
Environment
OS Version: N/A
Cause
Cause type: Defect Root Cause: RA Webservice SOAP 4.0 doesn't allows XML to be send as SOAP request.
Resolution
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
Fix Version(s): RA Web Service SOAP 4.1.0 - Available