cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Files to Java Web Service

aaron_morden2
Contributor
0 Kudos

Hello all,

I am an ABAP developer and need some help with Java.

I would like to create a Web Service in NWDS that takes in several files and returns one file.

When creating my business method in my EJB, what should my Return Type and Parameter Type be?

Example: I would pass the Web Service 2 image files and a PDF file. The web service would then merge everything into 1 pdf and return it back to the calling program.

Any help is appreciated.

Thanks,

Aaron

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I Think you can define your return as byte[] or String (encoding result with BASE 64)

On cliente side you receive the result and save the merged file.

Best regards

Answers (0)