We would like to build an inteface to execute a call to automatically download a compressed binary archive. We are able to successfully use the RequestResponseBean to execute a REST call and send the result to another reciever when the content of the response message is XML, but when the content of the response is a binary file we receive the error:
MP: exception caught with cause org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x3) was found in the element content of the document
We are using the SOAP AXIS adapter and have set the enableREST context property using MessageContextPropertiesHandler. Is there a parameter we can set that will allow AXIS to process thre contents of the response so that we can automate this download?
Here is the receiver channel configuration.
Here is what the response from the service looks like in TCPMon: