Hello,
if you upload a file, the data of the HTTP request are transferred via “multipart form data”.
X-Application does not support this kind of parameters. Otherwise my propose would be a workspace plug-in that gets its parameters (file data) from the variables handler and uses the Tamino API for Java to transfer the data to the Tamino Server.
Since this approach is not possible you could write a servlet that handles the request. An example how to deal with file upload is the generator. Its web interface is a Servlet. For loading a schema the file is transferred via file upload.
Have look at the directoty
src\com\softwareag\xtools\xapplication\generator\webui
(1) Generator.java (the Servlet)
and
(2) ParameterBuilder.java (class to extract the transferred parameters)
Bye,
Christian.
#Tamino#webMethods#API-Management