Until now, an operation for sending the request has been defined, but the data
that shall be sent has not been defined. This is done by adding (and maybe manipulating
the content of) a template to the operation. Therefore, a
PETA template should be defined, first. Press the New message
template
button in the toolbar to open the New
Template wizard. Keep the selection on the path
peta/template and enter
request as the template's name.
After pressing the Finish button, the template file will be opened in an XML editor. This template will be a generic description of a client's request. The specific data can be filled in later by the template operation composition or substitution and unneeded parts will be removed by the operation omission.
Enter the following content and save the file:
Example 5.1. Template 'request'
<request>
<timestamp>2005-11-11 11:11:11</timestamp>
<sender></sender>
<type></type>
<parameters/>
</request>