webMethods 9.9 file upload issue

Hello Manoj, I am facing the same issue with the error message: "Missing required value: string " for binary files. For simple text files I get following error message: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String.

Can you please provide your working sample.war for portlet and IS flow?

Hello Stenly Ristau,

First Create a IS flow service which will receive the file from CAF as shown in the image below.

1 Like

Hello Manoj, thank you for the help. I got it now:

public String uploadCommand() {
getUpload().getParameters().getUpload().getUpload().setInputeFile(new DataHandler(getFileItem().get(),“application/octet-stream”));
getUpload().refresh();
return null;
}

Hello Manoj, is it possible to upload multiple files at once? Thanks Stenly

we can not upload multiple files.

Hi Guys,

I had followed all mentioned steps … but i am unable to hit IS service … even no error too on screen. May i know what might be the issue.