Submitting requests
Requests can be submitted in a variety of ways to an ITP/Server. A full description of the used protocols can be found in the ITP/Server Manual. In the same Manual API's and Java Classes that can be used to submit requests from your applications are described. However, to make submitting a job for test purposes easy, a Test tool is provided with ITP/Server. This tool available from the menu Tools .
The Test tool
We advise to use the Test tool according the following rules:
- Start the Test Tool from the ITP/Server Tool menu.
- Choose a Service from the Services listed on the Services tab of the ITP/Server Administrator. RunMdl is installed with ITP/Server. This Service runs an ITP Model.
- Check the Service tab to see which parameters this Service expects. RunMdl needs two: a model name and a path and name.extension for the result document.
- Make sure that the interface used by ITP/Server is TCP/IP. Check this on the Manager tab of ITP/Server.
- Set the log level on the Logging tab to 4.
- Go to the Test Tool and enter the ITP/Server host and the port as set on the Manager tab.
- Enter the Job parameters as found on the Service tab of the chosen Service. The first parameter must be the name of the chosen Service. (For instance: RunMdl)
- Press the 'Submit' button or the 'Submit async' button.
- Any progress messages will appear in the messages pane.
- Check the result.
- Use the log to analyze any errors.