This section provides the details for uploading a file that can be used for setting the configurable application variable of type file. When you need to update the configurable application variable file from the Configurable Application Variables (CAV) web page, you must browse and select a file that is uploaded to the server and then the CAV is updated. To update the configurable application variable file from the web service, you need to first upload the file to the server using the FileUpload Servlet Interface and then use the web service method to update the file variable.
The FileUpload Servlet accepts a file that is uploaded using the HTTP Post method in which the content type is set to multi-part/form data and the file contents are uploaded as multi-part request entity. This interface saves the uploaded file on the server. Then you can use the setAppConfigurableVars method to update the file variable of an application. The name of the file uploaded is the name that you must provide when invoking the setAppConfigurableVars method for setting the file variable.