Service Java form
|
|
Configure the data mapping for the incoming and outgoing data for a Java service rule on the Parameters tab.
Complete the top section of the tab to specify how to map arguments from the incoming requests to properties. Complete the Return Value section of the tab to specify how the service rule constructs the response.
The data types of the incoming and outgoing values can be simple scalars (Java primitive data types), arrays of scalars, Java objects (instances of Java classes), or arrays of Java objects.
Field |
Description |
Data Type |
Select the data type of the incoming variable. The data types available in the selection list are the Java primitive data types ( To specify that the data type is a Java object or Java object array, click in the field and type the name of the appropriate Java class. For example, |
Name |
Enter the name of the external parameter. |
Map To |
Specify the destination or the type of destination for the value in PRPC. This field presents a subset of the following options, as appropriate for the data type you specified:
|
Map To Key |
The value that you specify in this field depends on the option you selected in the Map To field:
|
Field |
Description |
Data Type |
Select the data type of the return value. The data types available in the selection list are the Java primitive data types ( Do not return |
Map From |
Select the source or the type of source for the return value. This field presents a subset of the following options, as appropriate for the data type you specified:
|
Map From Key |
The value that you specify in this field depends on the option you selected in the Map From field:
|