SAP Knowledge Base Article - Preview

2396377 - WstxUnexpectedCharException Unexpected character in prolog unknown-source during message processing in a CPI iFlow

Symptom

  • You are sending data to an endpoint on your Cloud Integration tenant which uses one of the SOAP based adapters, but the message processing is failing because of an error similar to the following - 

    Error.JPG

    Inbound processing in endpoint at /<endpointName> failed with message "SoapFault:faultstring=Error reading XMLStreamReader: Unexpected character '-' (code 45) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]; faultcode={http://schemas.xmlsoap.org/soap/envelope/}Client", caused by "WstxUnexpectedCharException:Unexpected character '-' (code 45) in prolog; expected '<' at [row,col{unknown-source}]: [1,1]"

  • The error is being thrown by one of the following adapter types - 

    SOAP (SOAP 1.x) Adapter
    SOAP (SAP RM) Adapter
    SuccessFactors SOAP Adapter
    IDoc Adapter


Read more...

Environment

  • SAP Cloud Integration
  • SAP Integration Suite

Product

SAP Cloud Platform Integration for process services 1.0 ; SAP Integration Suite all versions

Keywords

HCI, HANA Cloud Integration, HCP Integration Service, HTTP POST request, inbound, message processing, IFlow, Integration Flow, request, response, SOAP, HTTP, HTTPS, adapter, sender, endpoint, endpoint URL, unexpected character, WstxUnexpectedCharException, fault, SoapFault, XMLStreamReader, prolog, synchronous, asynchronous, SAP RM, SOAP 1.1, SOAP 1.2, SAP Cloud Platform Integration, Unexpected, character, in, expected, <, at, [row,col {unknown-source}]:, caused, by, code, IDOC, SOAP 1.X, Success Factors SOAP adapter , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.