Service EJB
form
|
Configure the data mapping for the incoming and outgoing data for an EJB service rule on the Parameters tab.
Use the top section of the tab to specify how to map the arguments from the incoming requests to Process Commander properties. Use 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 enter 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 Process Commander. 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 |
Return Value | |
Data Type |
Select the data type of the return value. The data types available in the selection list are the Java primitive data types (Boolean, byte, int, short, long, float, double), their array counterparts, and Java String. |
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:
|