RSA Identity Governance and Lifecycle RESTful web service response: java.lang.IllegalStateException
Originally Published: 2016-10-17
Article Number
Applies To
RSA Version/Condition: 6.9.1
Platform (Other): Linux
Issue
Default Configuration
|
Headers |
Name Content Type Accept |
Value application/xml Accept | |
However, when AFX is processing the response from the RESTful Web Service, a message with the following properties and error message may be returned.
Message properties: INVOCATION scoped properties: INBOUND scoped properties: Connection=false Content-Length=389 Content-Type=application/xml; charset=UTF-8 Date=Wed, 12 Oct 2016 03:20:21 GMT Keep-Alive=falseThe below error may be logged during parsing of the http web service response:
<Response timestamp="2016-10-12T14:20:36.035+11:00">
<status>
<code>2</code>
<brief>Failure - Error processing RESTful web service response</brief>
<detailed>Error processing RESTful web service response: java.lang.IllegalStateException: Expected application/xml but received application/xml; charset=UTF-8</detailed>
</status>
</Response>Cause
To enable AFX DEBUG, please review the following articles:
- Article 000033429 - How to turn on debug logging for a RSA Via Lifecycle and Governance Access Fulfillment Express (AFX) Connector 7.0, 6.9.1 and 6.8.1
- Article 000030219 - How to turn on debug logging for a RSA Via Lifecycle and Governance Access Fulfillment Express (AFX) Connector 7.0.1 and above
2016-10-12 09:23:45.675 [DEBUG] org.mule.module.scripting.transformer.ScriptTransformer:125 - Object after transform: Error processing RESTful web service response: java.lang.IllegalStateException: Expected application/xml but received application/xml; charset=UTF-8
2016-10-12 09:23:45.703 [WARN] org.mule.transport.jms.JmsMessageUtils:269 - Header: Content-Type is not compliant with JMS specification (sec. 3.5.1, 3.8.1.1). It will cause problems in your and other applications. Please update your application code to correct this. Mule renamed it to Content_Type
NOTE
For AFX version 7.0.1 and above, the Connector logs are located in the $AVEKSA_HOME/AFX/esb/logs directory, and have the following prefix;
- esb.AFX-INIT.log
- esb.AFX-CONN-<connector name>.log
- esb.AFX-SETTINGS-<connector name>.log
- mule-ee.log
- mule.AFX-CONN-<connector name>.log
- mule.AFX-SETTINGS-<connector name>.log
Resolution
Content-Type=application/xml
instead of:
Content-Type=application/xml; charset=UTF-8
This is in accordance with the message:
org.mule.transport.jms.JmsMessageUtils:269 - Header: Content-Type is not compliant with JMS specification (sec. 3.5.1, 3.8.1.1). It will cause problems in your and other applications. Please update your application code to correct this. Mule renamed it to Content_Type
Workaround
To resolve the problem, update the Request Header Content-Type in the Connector Capabilities, so that is matches what is being sent by the RESTful Web Service; for example,
set Content-Type to: application/xml; charset=UTF-8
Related Articles
Error during migration: Error: Failed to massage migrated data org.postgresql.util.PSQLException: ERROR: update or delete… 57Number of Views Windows Agent failing to authenticate local Group Membership with 30 Secs timeout 118Number of Views RSA Authentication Manager 8.1 SP 1 patch 1 backups to a Windows Shared Folder are failing after software upgrade 242Number of Views Manually applying the definition files to ClamAV for RSA Authentication Manager 8.x 603Number of Views Failed to validate remote location error when configuring backups to Windows Shared Folder in RSA Authentication Manager 8.x 1.44KNumber of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle
Don't see what you're looking for?