Creating iWay Business Services

Topics:

After you browse the J.D. Edwards EnterpriseOne Business Functions and create an XML schema for the Business Function, you can generate an iWay Business Service for the Business Function you wish to use with your adapter.

The Web Service Description Language (WSDL) file is an XML file that describes the web service documents and provides access to the service. It specifies the location of the service and the operations (or methods) that the service exposes.

You can delete an iWay Business Service that you no longer need.

Creating Business Services With iWay Explorer

How to:

iWay Explorer provides application developers with a simple, consistent mechanism for extending the capabilities of the iWay Application System Adapter for JDE EnterpriseOne. The iWay Business Services Provider (iBSP) exposes functionality as web services. It serves as a gateway to heterogeneous back-end applications and databases.

A web service is a self-contained, modularized function that you can publish and access across a network using open standards. It is the implementation of an interface by a component and is an executable entity. For the caller or sender, a web service can be considered as a black box that may require input and delivers a result. Web services integrate within an enterprise as well as across enterprises on any communication technology stack, whether asynchronous or synchronous, in any format.

After you browse the JDE EnterpriseOne Business Functions and create an XML schema for the object, you can generate an iWay Business Service for the object you wish to use with your adapter.

The following procedure describes how to create iWay Business Services using iWay Explorer.

Procedure: How to Create an iWay Business Service

After you browse the business object repository for an application system, and generate XML schemas for an object that you want to use with an iWay adapter, you can create an iWay Business Service for that object.The Web Service Description Language (WSDL) file is an XML file that describes the web service documents and provides access to the service. It specifies the location of the service and the operations (or methods) that the service exposes.

You can delete an iWay Business Service that you no longer need.

  1. Expand the JDEdwards One World node and connect to an available target for which you want to create an iWay Business Service.
  2. Expand the Services node as shown in the following image.
  3. Expand the CALLBSFN node, as shown in the following image.
  4. Expand the Addressbook folder, as shown in the following image.


  5. Right-click GetEffectiveAddress and select Create iWay Business Service from the context menu, as shown in the following image.


    The Add Business Service dialog box opens, prompting you for information about the new service.

  6. Supply the values for the fields on the dialog box as follows:
    1. From the Existing Service Names drop-down list, click <new service> if you want to create a new service name or select an existing service name.
    2. If you are creating a new service name, type the name in the Service Name field, for example, GetEffectiveAddress.
    3. In the Service Description field, optionally type a brief description of the new business service.
  7. Click Next.

    The Select Business License pane opens, as shown in the following image.

  8. Supply the values for the fields on the dialog box as follows.
    1. From the License drop-down list, select the license definition that you want to use with this business service.
    2. In the Method Name field, accept the default value or type a descriptive name for the method that the service exposes (for example, GetEffectiveAddress).
    3. In the Method Description field, optionally type a brief description of the method.
  9. Click Finish.

    The new iWay Business Service is added beneath the Services node in the iWay Explorer tab, as shown in the following image.

Procedure: How to Test an iWay Business Service

  1. To test the new iWay Business Service, click the test link in the right pane, which displays the available licenses, as shown in the following image.

    The iWay Business Services that are licensed under the test license are displayed.

  2. Expand the Addressbook folder.

    The operations (methods) that are supported for this service are displayed.

  3. Double-click the GetEffectiveAddress node.

    The test pane for the GetEffectiveAddress. method opens, as shown in the following image.

  4. In the input xml field, enter an XML request document that queries the iWay Business Service named GetEffectiveAddress.
  5. Click Invoke.

    The result of the test is displayed in the right pane, as shown in the following image.