Show TOC

Procedure documentationGenerating Web Services Locate this document in the navigation structure

 

The web service Generation tool helps a third party user to process the rules defined in BRFplus. The tool also helps the third party user to create web services with minimal interaction.

Example Example

You need to work on more than one product at the same time. Rules are defined in BRFplus and these rules (in coding) are used as input in a different product. In such a situation, assign the rules created in BRFplus to a function. Generate a web service, process the function and invoke the web service from any environment, for example, in a Java environment.

End of the example.

Procedure

  1. Choose   Tools   Web Service Generation  .

  2. In the web service generation page that appears, choose Select Function.

  3. In the Object Query dialog box that appears, enter the name of the function and application and choose Search.

  4. Select a function from the list.

    The selected function appears under the Function section.

    Note Note

    To choose any other function, choose Select Other Function.

    End of the note.
  5. Configure the web service. In the Web Service Configuration section enter the following data:

    1. The development package in which you want to generate the web service.

      Select Local Package checkbox in the case of local package or enter $TMP in the Development Package field.

      Note Note

      You have to transport the objects if you generate the web service in a development package which is not local and if the package is transportable.

      For more information, see Transporting Objects

      End of the note.
    2. Enter the workbench request.

    3. To create a new function group, select Create Function Group checkbox. Otherwise the function module is generated in the existing function group provided.

    4. To use an existing function group, enter the name of the function group in the Function Group field.

    5. Enter the name of the function module for the generated Remote Function Call (RFC) function module in the Function Module field.

    6. Enter name and short text for the web service in Web Service Name and Web Service Short Text fields.

    7. To choose the level of security, choose in the Web Service Security Profile field.

    8. Select Basic, Low or Strong from the dialog box that appears and choose OK.

  6. Choose Generate.

    The web service is automatically generated with all the required objects.