My target application return multipart content-type as follows:
1- --MIMEBoundaryurn_uuid_795C7A95B114426B2C1626102672319
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: binary
2- --MIMEBoundaryurn_uuid_795C7A95B114426B2C1626102672319
Content-Type: application/pdf
Content-Transfer-Encoding: binary
I was trying to use the callout - https://github.com/DinoChiesa/Apigee-Java-XOP-Handler but it has limitation where it can only read the 1st content-type application/soap+xml or text/xml and 2nd application/zip or application/octet-stream .
Is there any other callout which i can use to read the multipart header which support my above content-type?
Solved! Go to Solution.
Yes, I see.
i've updated the callout to accept that as a content-type for part1 by default. And also, you can now override the acceptable content types using a property.
Get the latest JAR to try it out.