You want to process a file (load it into Tamino) that resides NOT on the server computer but on a remote computer.
That means you somehow have to transport the file from this remote machine to the server.
It won’t suffice to give the server the path of the file (like c:\path\file.jpg) on the remote machine, for the server has no means of grabbing a file out of this remote filesystem. Instead, you need to do an upload of this file to the server. To achieve this, in HTML usually this coding is employed:
This will
a) give the user of the HTML page a file requestor dialog (at least on Win platforms)
b) on click on the OK button upload this file to the server to the routine specified with the action attribute of the form element
(“/servlet/receiveUploadedFile”). Please look for documentation on how to receive such an upload properly. Once you have the uploaded file at your servlets (or JSPs for that matter) disposal, there should be no problem loading it into Tamino.
I hope this didn’t miss the point entirely.
Best regards,
Andreas
#API-Management#webMethods#webMethods-Tamino-XML-Server-APIs