Binary Data Response
If a webservice responds with a binary format such as an image or PDF the response can be written back onto the IMan dataset. This handling is useful when dealing with Shipping APIs where a POST request generates a shipping request and the response is the shipping label itself.
Since the response from the webservice is a binary blob there are several conditions which need to be met in order to write the binary response back onto the IMan dataset.
- There must be a field named 'SYS.RESPONSE'
- The field type must be Binary.
- The field must exist in the top-most transaction type.