Entering content frame

Function documentation Service Definition Wizard Locate the document in its SAP Library structure

Use

The Web Service Creation Wizard makes it possible to define a Web service in a few steps. You can create Web services for RFC-enabled function modules, function groups, BAPIs, and XI message interfaces. Features – such as security or transport guarantee settings – are assigned using configuration profiles.

The service definition that is created using the wizard can be processed subsequently in the ABAP Workbench.

Activities

...

       1.      In the Object Navigator (SE80), select the name of the package in which you want to create a Web service. From the context menu, choose Create ® Enterprise Services / Web Services  ® Web Service.

To create a Web service from a function group or function module, you can call the Creation Wizard from the Function Builder (SE37). Choose the function module, display it, then choose Utilities ® More Utilities ® Create Web Service ® From the Function Module or From the Function Group.

Note

Note that the function group must contain at least one RFC-enabled function module.

To call the wizard for a BAPI, position the cursor on the appropriate BAPI Explorer (transaction: BAPI). Choose the Tools tab, then choose Create Web Service. Choose the Start Wizard pushbutton.

       2.      Perform the steps indicated in the wizard:

Action:

Meaning:

Create service

Enter a name and description for the service definition. Choose an end point type.

Choose the endpoint

Choose the object that you want to offer as a Web service. For business objects, enter the application.

If the checkbox Name Mapping is marked, the wizard accepts the existing names for the end point. Initial letters are in uppercase and underscores are removed If this is not required, the service definition is created using the names in the end point.

Choose operations

For BAPIs and function groups, choose the operations for which the Web service is to be created (see also: Creating a Service Definition for a Function Group/BAPI).

Configure service

The features that can be assigned here to the Web service relate to questions of security of data transfer and the type of communication.

Choose a predefined feature set from the profiles available.

Profile Basic Auth SOAP:

  • Communication type: Stateless
  • Caller authentication: User and password

 

Profile Secure SOAP:

  • Communication type: Stateless

·         Authentication: Client certificate

·         Transferred data is encrypted using the Secure Socket Layer protocol.

For more information on the features in the profiles, see Creating a Service Definition.

End

The service definition is created.  Finally, you perform the release for the SOAP runtime. 

       3.      Assign transport requests (including a Customizing request to configure the SOAP runtime) appropriate to the system configuration.

Result

You have created a Web service. The service definition was created and released for the SOAP runtime.

The section Administration for the SOAP Runtime explains how you can publish and test the Web service.

 

 

 

 

 

 

 

Leaving content frame