If you want to create a predesigned development component (DC) in which you define the exact usage of Service Groups, you can create a set of Service Groups in it without the corresponding service references. At a later stage, when you import a WSDL document the framework identifies the predefined Service Groups and allows you to create the service references to point to these Service Groups.
You create predefined Service Groups in WEB Module DCs, EJB Module DCs, or Service Group Configuration DCs.
One of the following DCs is created in the SAP NetWeaver Development Infrastructure:
WEB Module DC
The WEB Module DC in the project is version 2.5.
EJB Module DC
The EJB Module DC in the project is version 3.
Service Group Configuration DC
More information
An Enterprise Application DC is created in the SAP NetWeaver Development Infrastructure.
The dependencies between the following components are set:
EJB Module DC and the corresponding Enterprise Application DC
OR
WEB Module DC and the corresponding Enterprise Application DC
More information
The AS Java settings are configured in
The application server and Web service runtime are set in the SAP NetWeaver Developer Studio from
. In the Server field, choose SAP Server, and in the Web service runtime, choose SAP NetWeaver.To create a classified Service Group, the following prerequisites apply:
The SAP NetWeaver Developer Studio is configured to connect to the SR in
.More information: Connecting the SAP NetWeaver Developer Studio to the Services Registry
If you are using a proxy to access the Internet, the proxy settings of the SAP NetWeaver Developer Studio are configured in
.In the Project Explorer of the Java EE perspective, open the created DC.
Right click the Connectivity node in the project, and then from the context menu choose New Service Group.
The Create Service Group wizard opens.
In the Project field, enter the DC in which you want to create the Service Group.
In the Package field, enter the package in which you want to create the Service Group files.
Enter the Service Group name and description.
Depending on the type of the Service Group which you want to create, proceed as follows:
Classified
Choose this option to create a Service Group, based on the Services Registry classification system.
From the Type field, choose Classified.
Choose Next.
The classification system of the Services Registry is displayed.
Choose a Service Group classification from the list.
More information about the Services Registry classification system: Structuring of Services in the Registry
Non-classified
Choose this option to create a non-classified Service Group.
Choose Finish.
To build the DC, right click the DC project and from the context menu, choose
The framework creates the Service Group in the Connectivity node and the Java package folder of the selected DC.
Depending on the Service Group type, the framework creates the Service Group as follows:
Classified Service Group
The framework creates a classified Service Group in which at a later stage you can create service references to Web services that have the same classification.
Note
When you classify Service Groups, you can use only classifications of enterprise services and not Java EE Web services classifications. You use values only from BrowseByApplication classification system. These values are Deployment Units and Process Components and are used for enterprise services.
Non-classified Service Group
The framework creates a non-classified Service Group with property Origin. To configure the Service Group to host service references to a particular provider system, in the Origin field, enter the host name of the provider system.
More information: Editing Service Groups and Service References