Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

REST call to download compressed archive

$
0
0

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.

 

AXISRESTReceiver.JPG

 

Here is what the response from the service looks like in TCPMon:

 

TCPMonCapture.JPG

 


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>