When you create application services, you can modify their operations.
Improving interfaces of custom find operations in CAF business objects
CAF generates input parameter of type QueryFilter for every parameter in the custom find operation. This type contains elements with xsd:anySimpleType. The type is mapped to the Object type in Java. The clients of such interface may be confused of this Object/xsd:anySimpletype field in the input of the operations. On the other hand, this operation may not be working when it is called from Web Service Navigator, Web Dynpro or Visual Composer. To create find operations with concrete types in the input you can manually implement operations in CAF (in the same business object or in separate application service or EJB) with parameters that are defined with concrete types. In the implementation of this operation you can call the original find operation passing the type concrete type received as input.
For new application services, the operations list is empty.
A New Operation wizard opens. You can choose between Custom operation and BW Extractor operation.
Field or Property | Description |
---|---|
Name |
Name of the operation |
Description |
Description of the operation |
Transaction Type |
Choose the Java EE transaction type. More information: Setting Transaction Attributes . |
Permission Check |
If enabled, the operation requires permission to be executed. If disabled, the operation can be executed by anyone. More information: Protecting Access to Application Service Operations |
Implemented |
If enabled, you should write a source code implementation for the operation. If disabled, you are allowed to create mapping for the operation. |
You can modify the application service operation attributes.
To add an attribute or fault message, do the following:
To remove an added attribute or fault message, select it from the right structure and choose Remove.