To create a serviceRequest in the UI, follow these steps:
1. Either:
|
Right click:
and select New > Service Request |
Select Tools > Service Request |
The Create Service Request wizard starts.
2. Complete the Create ServiceRequest dialog as follows:
|
|
Select location of the service request: Click in the appropriate radio button to select: - Embedded Service Request (Client Only) - Service Request (Client and Server) Select the type of service request: Click on the type of service request to create: - REST Web Service - SOAP Web Service - Data Base Service |
Click Next.
The appropriate dialog appears for whichever type of service request you selected.
See the following sections to create the various types of service requests.
|
|
DataRequestID: Click the arrow to select the ID of an existing dataRequestDefinition ID, or click New to specify the server-side information for this serviceRequest. For more information on creating a new dataRequestDefinition, see Specifying Server-side Information for a serverRequest. ID: Specifies an ID for this serviceRequest. Nexaweb Studio automatically creates an ID of serviceRequest with a numbered suffix incremented by one for each additional serviceRequest that you create, or you can specify your own. onFailure\onSuccess: Optionally, specify an MCO or Macro to run when the request fails or succeeds. Click Advanced to create one. For more information on creating an event, see Connecting Business Logic to the User Interface. Target: Specify an existing document data source through which you can bind this data to the UI, or click New to create one. Nexaweb Studio copies the data from the data base to the document data source for use in the UI. For more information on creating a document data source, see Creating a Data Source. Optional Arguments: Click Add to specify a parameter for this serviceRequest. Specify the parameter name in the Name field and a value for this parameter in the Value field. |
3. Click Finish.
Nexaweb Studio adds the serviceRequest to the UI file and displays the name of this serviceRequest under the Service Requests folder in the Data view.