I would advise just using the org.apache.commons.fileupload.FileItem interface for the data type of your field instead of a specific implementation. That should work for any implementation of FileItem.
For example, below is what is generated in your page bean when you drag/drop the “Data > File > File Item” item from the Palette onto your view (or onto your managed bean in the Bindings view):
private org.apache.commons.fileupload.FileItem fileItem = null;
private static final String[][] FILEITEM_PROPERTY_BINDINGS = new String[][] {
};
public org.apache.commons.fileupload.FileItem getFileItem() {
if (fileItem == null) {
//TODO: create/set default value here
}
resolveDataBinding(FILEITEM_PROPERTY_BINDINGS, fileItem, "fileItem", false, false);
return fileItem;
}
public void setFileItem(org.apache.commons.fileupload.FileItem fileItem) {
this.fileItem = fileItem;
}
#webMethods-BPMS#webMethods#MWS-CAF-Task-Engine