Creating a web service

When you create a web service, an external system can send web-based messages and queries to the associated service without configuring additional communication protocols or services.

Before you begin

Perform the following checks to ensure that the service you want to use is available to create a web service:
  • For an object structure service, verify that the Consumed By field is set to INTEGRATION in the Object Structures application.
  • For a standard service, ensure that a method is annotated in the application service for each operation that you want to use in the web service. Only those methods that are properly annotated are accessible in the Web Services Library application
  • For an enterprise service, ensure that the service is associated with an external application in the External Systems application.

Procedure

  1. In the Web Services Library application, select the appropriate Create Web Service action.
  2. Choose the service to use by selecting the corresponding Source Name check box.
  3. Optional: In the Name field, specify an identifier for the web service.
  4. For a web service that is based on an enterprise service, specify whether you want the web service to be queue-based or to bypass the JMS queue.
  5. Click Create.

What to do next

You must deploy the web service before you can use it to process inbound messages and queries. You can also generate the schema and view the XML structures of any selected web service.