Posting pdf using mime

HI
I need to build a service to read pdf file from a shared drive and send the file as a mime stream as base 64 encoded using http post and at the receiving end read the pdf and write it to another shared drive. I am able to send the file using https post, but on the receiving end I am receiving the file but not able to decode and write the file to the shared drive, has any one accessed pdf send via mime, if so can you help what kind of decoding you have used for the same?

I am using wmpublic base64 decode for this.

Thanks
Vallimeenal.M

Hi I was having trouble in using built in services, I was able to achieve the same using Java Services.

hi

We are also facing a similar issue in PDF to send via MIME.Could you please help us.

Thanks
Dinesh

Hi Dinesh

Can you provide more details about the error and steps you are following, it will help me to replicate and suggest solutions?

Thanks
Vallimeenal.M

hi Valli,

Thanks for the immediate response.

We have provide the pdf file to API which accept Mutlipart file but we are getting file was not uploaded.It shows 0 bytes as file size.

Regards
Dinesh.

hi valli,

Can you share the Java services you have used which may help us in resolving the issue we are facing. We have issue in the content was not properly transferred. please help us.

regards
Dinesh

Hi Dinesh,
Can you please check if the steps mentioned here helps you. Generally you have to use IS MIME services to send multipart data using pub.client:http

How to send a mimestream using pub.client:http - Forum - webMethods - Software AG Tech Community & Forums

Hi Dinesh

Did you try Jaideep suggestions? Did that work?

Thanks
Vallimeenal.M

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.