There is no standard why to achieve this. If you want to use exactly the same access to post your data, you have to simulate the whole HTTP stream with multipart/form-data Here is an example how this could look like: http://stackoverflow.com/questions/4526273/what-does-enctype-multipart-form-data-mean The HTTP stream can be created with Java Mapping. A had a similar task for mail adapter, described here: http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/09/04/create-email-with-body-and-attachments-for-binary-payload-with-java-mapping
↧