Providing OpenAPI REST Web Services

The Provide Web Services component (IB_WSDLEXP_SRCH) features a wizard you can use to provide web services. This section focuses on providing OpenAPI REST web Services.

An OpenAPI REST service will produce an OpenAPI document.

Note: For a service to be available to provide, an any-to-local routing must exist for the service. In addition, there must be a minimum of one service operation associated with the service.

You can use the Provide Web Service wizard to select one or more services for which to generate documents. A separate document is generated for each service.

The first step is to search for and select the services that contain the service operations to include the OpenAPI documents that you generate. To access the page select PeopleTools > Integration Broker > Web Services > Provide Web Services.

To access the page select PeopleTools > Integration Broker > Web Services > Provide Web Services.

This example illustrates the Select Services page with REST Service selected.

Select Services page with REST Service selected

You can search by the full or partial service name and service description. You can also search by object owner ID, if one is defined for the service. You can enter one or more of these criteria when performing your search.

Field or Control

Description

Service Name

Enter a full or partial service name.

Description

Enter the full or partial description of the service.

Object Owner ID

Select the object owner of the service to provide.

REST Service

Make sure this box is selected for a REST Service.

Click the Search button.

Select the check box next to each name of the services to provide.

Click the Next button to proceed to the next step in the wizard, selecting service operations.

Use the Select Service Operations page (IB_WSDL_EXP_OPER) of the Provide Web Service Wizard to select service operations to provide.

This example illustrates the Select Service Operations page for an OpenAPI REST service.

Select Service Operations page for OpenAPI REST service

Field or Control

Description

Use Secure Target Location

Select this checkbox if you want to export the OpenAPI to the URL specified in the Secure Target Location field on the Service Configuration page. If you do not select this option, OpenAPI is exported to the URL specified in the Target Location field defined on the Service Configuration page.

Click the Next button to proceed to the next step in the wizard.

Use the View WADL/OpenAPI page (IB_WSDLEXP_PVIEW) to preview the OpenAPI.

This example illustrates the View WADL/OpenAPI page for an OpenAPI REST Service.

View WADL/OpenAPI page for OpenAPI REST Service

Each service for which a OpenAPI document will be generated is listed. Click theView WADL/OpenAPI link to view the OpenAPI document for each service that you have selected.

This example illustrates the WADL/OpenAPI Viewer page for an OpenAPI.

WADL/OpenAPI Viewer for an OpenAPI

Click the Return button to return to the View WADL/OpenAPI page.

Click the Next button to proceed to the next step in the wizard.

After you preview the WADL document, use the Specify Publishing Options page (IB_WSDLEXP_LOC) to specify the publish location of the generated documents.

This example illustrates the Specify Publishing Options page for REST service.

Specify Publishing Options page for REST service

By default the system publishes WADL documents to the PeopleSoft WSDL repository.

Click the Finish button to view the Confirm Results page.

Use the Confirm Results page (IB_WSDLEXP_RSLTS) to view the WADL/OpenAPI Generation Log:

This example illustrates the Confirm Results page for an OpenAPI REST service.

Confirm Results page for OpenAPI REST service

The WADL/OpenAPI Generation Log provides the name of the services and URL for each OpenAPI document generated.

You can cut and paste the URL into a browser to access the document. You can also access the document using the WSDL repository.

To provide another service, click the Provide Another Service button and return to step 1 of the wizard.