Procedure
-
Click the Kill button in the execution
console to stop it.
-
In the Repository tree view, right-click the Job and select
Build Job to open the Build Job
dialog box.
-
In the To archive file field, browse to the directory where
you want to save your built Job.
-
Select OSGI Bundle For ESB in the Build
Type list.
-
Click Finish.
The Job is built to the specified directory, as a
trestrequest-0.1.jar
file.
-
Copy the
trestrequest-0.1.jar
file, and paste it into the deploy
folder of the Talend Runtime Container. The service starts
directly.
-
Run the UploadFile.html using a web browser.
-
Click the Browse button to navigate to
the customer.xml that contains the user ID and click
upload.
-
The HTTP POST request is accepted by the REST service and the user ID is
sent back to the server.
You can also view the response in the page source.
-
The content of the input file is shown in the Talend Runtime Container window.