I'm converting a web service client call from SOAP to HTTPClient using 2019 R3. The response back from the web service is multipart which means my response contains both XML and binary content. The SOAP implementation gave me a property in the response to pull the binary data into a BLOB. However, now that I'm using HTTPClient the response BLOB it seems I'll have to write code to parse the BLOB response body to get the binary data.
Does anybody have any example PB code of how to extract the binary portion of multipart data from the HTTPClient response body?
I can try to edit the description, but every time i tried to edit something, codeXchange removes if until the changes get approved. I have an updated version that generates the multi-part message from the parts that i haven't posted up either because of that.