IBM Support

HTTP Client POST Service : General Engine Error - "INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified"

Troubleshooting


Problem

HTTP Client POST Service : General Engine Error - "INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified"

Symptom

Business process is going in "halted" status with error "General Engine Error" at step HTTP Client POST Service

In httpclient.log in debug modus, following error is raised :

[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name
[Content-Length] with value [520]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name [Date] with
value [Mon, 15 Feb 2016 15:15:41 GMT]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name [Content-Type]
with value [text/xml; charset=utf-8]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name [Server] with
value [Microsoft-IIS/8.5]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name [Cache-Control]
with value [private]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name
[X-AspNet-Version] with value [4.0.30319]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name
[X-Content-Type-Options] with value [nosniff]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name
[X-XSS-Protection] with value [1; mode=block]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name [X-Served-By]
with value [4]
[2016-02-15 16:15:42.426] DEBUG <-227305982>
HttpClientAdapter.fillProcessData() - adding header name [*] with value
[*]
[2016-02-15 16:15:42.426] ERROR <HAR.100094313.Thread>
HTTPClientPostService.primitiveProcessData() - General Exception:
INVALID_CHARACTER_ERR: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
[2016-02-15 16:15:42.426] ERROR <HAR.100094313.Thread> [1455549342426]
INVALID_CHARACTER_ERR: Un caractère XML non valide ou incorrect est
indiqué.
[2016-02-15 16:15:42.426] ERRORDTL <HAR.100094313.Thread>
[1455549342426]org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown
Source)
at
com.sterlingcommerce.woodstock.xpathutil.XPathHelper.createNode(XPathHel
per.java:1467)
at
com.sterlingcommerce.woodstock.xpathutil.XPathHelper.createTargetContext
(XPathHelper.java:1141)
at
com.sterlingcommerce.woodstock.xpathutil.XPathHelper.createTargetContext
(XPathHelper.java:1053)
at
com.sterlingcommerce.woodstock.workflow.WFCUtil.setDataInTree(WFCUtil.ja
va:1113)
at
com.sterlingcommerce.woodstock.workflow.WFCUtil.setDataInTree(WFCUtil.ja
va:784)

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF016","label":"Linux"},{"code":"PF012","label":"IBM i"},{"code":"PF010","label":"HP-UX"},{"code":"PF002","label":"AIX"}],"Version":"5.2.6;5.2.5;5.2.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 February 2019

UID

swg21977101