I am using WM v10.5.
I want to create a rest service that accepts the image uploaded as form-data/multipart. I went through the MIME services that helps us create and use MIME-DATA object and use it further for extracting the body content and process on it. However I am not able to get anything as an input which I can pass as contentStream into the MIME services.
I am trying to upload an image “sampleImage.jpg” with key as image as a formdata-multipart file.
I am using createMimeData service to create a mimeData document object, this service expects an input object and i am not getting anything (stream or bytes or any kind of data) in pipeline which I can map with the input of createMimeData flow service and when further I use getBodyPartContent to extract the details of uploaded image I am getting value as null in content object.
So how to get the image uploaded as form-data/mulitpart in esb as stream/bytes or any other kind of data ?
#webMethods#upload-image-rest-service#multipartformdata#Integration-Server-and-ESB#Service-Designer