SAP Knowledge Base Article - Preview

3807392 - org.apache.camel.InvalidPayloadException: No body available of type: java.lang.String but has value: org.apache.camel.component.cxf.converter.CachedCxfPayload

Symptom

In your Cloud Integration tenant, you get  below error in SOAP sender. 

org.apache.camel.InvalidPayloadException: No body available of type: java.lang.String but has value: org.apache.camel.component.cxf.converter.CachedCxfPayload@35e91354 of type: org.apache.camel.component.cxf.converter.CachedCxfPayload on: Message. Caused by: Error during type conversion from type: org.apache.camel.util.xml.StreamSourceCache to the required type: java.lang.String with value org.apache.camel.util.xml.StreamSourceCache@670e168a due to javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 19981; Element type "TransferLocationNameLong" must be followed by either attribute specifications, ">" or "/>".. Exchange[840A5C36E78B9CE-000000000000009A]. Caused by: [org.apache.camel.TypeConversionException - Error during type conversion from type: org.apache.camel.util.xml.StreamSourceCache to the required type: java.lang.String with value org.apache.camel.util.xml.StreamSourceCache@670e168a due to javax.xml.transform.TransformerExcepti...


Read more...

Environment

  • Cloud Integration
  • Integration Suite

Product

SAP Integration Suite all versions

Keywords

Apache Camel route, CXF SOAP integration, XML well-formedness error, Element not closed, Body type mismatch, Payload conversion failure, Message body string conversion, XML to String transformation, CXF message body, DataFormat PAYLOAD, Route exception handling, SOAP web service configuration, Exchange processing error , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , LOD-HCI-PI-CON-FTP , FTP, SFTP and 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.