Using CAF diagram to develop your composite application gives you a better overview of the content of the application and the relations between the different services. You also have a quicker and easier way of creating business object nodes, associations between them, application services, and dependencies on other services, and of importing of Web services and RFCs. You can add attributes to the business object nodes, choose the attribute types, and add operations to the business object nodes and application services.
The CAF diagram provides you with the following possibilities:
The diagram editor may not display all application services and business object nodes that are available in the CAF application. Only those entities created using the diagram editor itself are automatically displayed in the diagram. If you have created an application service or business object, using the Composite Explorer context menu or the Composite Designer perspective, such newly created entities are not automatically added to the diagram. You have to drag and drop them manually in the diagram.
You have opened Service Composer perspective in SAP NetWeaver Developer Studio.
Opening the CAF Diagram
An empty diagram is displayed.
To arrange the elements in the diagram, click anywhere on the diagram with the secondary mouse button and choose Auto Layout → Default.
The diagram opens and contains the chosen object or service.
Modeling the Objects in a CAF Application
You can drag and drop already existing objects and services from the Composite Application Explorer, or even drag and drop a whole package into the diagram and thus all the services and objects from this package and its sub-packages will be automatically added to the diagram.
More information: Creating Business Objects
More information: Creating Application Services
To hide or show the default attributes and operations, click anywhere on the diagram with the secondary mouse button, and choose Show/Hide → Show default BO attributes and operations.
Managing Relations Between Objects
To add a dependency or association, choose the relevant option from the palette under Connections.
More information: Modeling Service Operations
Importing External Services
More information: Importing Web Services
More information: Implementing Web Services in CAF
More information: Importing RFC Modules
More information: Mapping Service Operations