Version 5.3.1
 —  Natural Business Services Natural Plug-in  —

Using the Business Service Repository

The Business Service repository provides access to business services on the server. It lists the connections for all business services in a tree view, which you can expand to display .

Use the Business Service repository to:


Access Business Services

Start of instruction setTo access business services:

  1. Map to the remote Natural development environment where the Business Service repository is located.

    For information on how to map to a remote Natural connection, see the Natural for Windows Single Point of Development (SPoD) documentation.

    The Map Environment window is displayed. For example:

    graphics/map-environment-window.png

    Use this window to define the name of the server defined for this connection, the number of the server port, and the name of the environment.

    Note:
    You can open multiple connection windows; each window includes the connection name in the window title.

  2. Enter the security credentials to secure the connection.

    Note:
    The user ID used for this connection also determines whether access to the business services and methods is permitted.

    If the plug-in is active, three new icons are displayed on the toolbar. These icons invoke:

  3. Select the repository explorer icon.

    The Business Services repository explorer is displayed. For example:

    graphics/business-services-explorer.png

  4. Expand the Business Services node.

    The Domains and Configuration nodes are displayed.

  5. Expand the Domains node.

    The server retrieves the list of business service domains for the specified connection.

  6. Select a domain to view the services available within the domain.

    The server retrieves the list of business services for the specified domain. For example:

    graphics/business-services-explorer-2.png

Top of page

Find Business Services

You can use the repository explorer to find business services for a specific business function. For example, you can find all services in a domain.

Start of instruction setTo find all business services in a domain:

  1. Open the context menu for the Business Services node in the repository explorer.

  2. Select Search Services.

    The Find Services window is displayed. For example:

    graphics/find-services.png

  3. Select the name of the domain in Domain.

  4. Select Find.

    Natural Business Services returns a list of the business services in the specified domain.

You can refine the results by limiting the search in several ways, such as:

Find Specific Services in All Domains

Start of instruction setTo find specific business services in all domains:

  1. Do one of the following:

    Note:
    You can also use fields on the Advanced tab to limit the search. For information, see Use the Advanced Tab.

  2. Select Find.

    Natural Business Services returns a list of all specified business services in all domains. The following example shows the results of searching all domains for a service containing “Customer” in its description:

    graphics/find-services-results-search.png

    Optionally, you can also use this window to:

    Task Procedure
    Group the results by column Drag the column heading to the shaded area.
    Rearrange the columns Drag the column heading to the far left of this window (for example, to sort by version, drag the Version heading to the left of the Domain heading).

Find Specific Services in One Domain

Start of instruction setTo find specific business services in a specific domain:

  1. Select the name of the domain in Domain.

  2. Do one of the following:

  3. Select Find.

    Natural Business Services returns a list of all specified business services in the specified domain.

Use the Advanced Tab

Start of instruction setTo limit the search of business services:

  1. Type one or more keywords in Keyword(s).

  2. Select the Advanced tab in the Find Services window.

    The Advanced tab is displayed. For example:

    graphics/find-services-advanced-tab.png

  3. Select from the following search criteria:

  4. Select Find.

    Natural Business Services returns a list of all business services with the specified criteria.

Top of page

Set Trace Options

To troubleshoot configuration and connection issues, you can set trace options on the wizard panels. This option records what is happening internally within the Natural plug-in and wizards.

Start of instruction setTo set trace options:

  1. Select Trace on a wizard panel.

    The Trace window is displayed. For example:

    graphics/trace-window.png

  2. Select the desired trace level in Level.

  3. Select one or more items in Filter to limit the items in the trace.

    These items are:

    graphics/trace-window-filter-menu.png

Top of page

Create a Directly Enabled Web Service

You can create a single Web service from a selected Natural subprogram.

Start of instruction setTo create a directly enabled Web service:

  1. Open the context menu for Business Services in the repository explorer.

  2. Select Create direct Web service.

    The Select a subprogram panel is displayed. For example:

    graphics/dws-select-subprogram.png

  3. Select Refresh.

    A list of subprograms in the current library is displayed. Optionally, you can:

    Task Procedure
    Display additional subprograms If all subprograms cannot be displayed in the space provided, use the scroll bar to display the additional subprograms.
    Limit the list of subprograms displayed Enter a starting value and/or wildcard characters in Filter. In the example above, all subprograms in C52DEMO will be displayed.
    Change the name of the library Select a different library in Current library.
  4. Select the Natural subprogram you want to use for the service.

  5. Select Next.

    The Configure client settings panel is displayed. For example:

    graphics/dws-configure-client-settings.png

    Use this panel to provide details about the Web service and server. By default, the following options are marked:

  6. Enter the following information for the Web service:

    Option Description
    Service name Name of the Web service.
    Domain Name of the domain for the Web service.
    Version Number for this version of the Web service. For example, enter "1 1 1" for the first version.
    Service description Brief description of the Web service.
    Port Number of the port that hosts the web server.
    Physical folder Physical location of the web server.
    Virtual root Virtual root for the web server.
  7. Select Finish to generate the Web service.

Top of page

Check Environment Information for a Connection

Start of instruction setTo display environment information for a connection:

  1. Select Business Services > Check Environment on the Tools menu.

    The Environment Check window is displayed. For example:

    graphics/check-environment.png

    This window displays information about the environment for the current connection.

  2. Select Close.

Top of page