Publishing a Web service

The Web service, also known as the business service, describes a Web service's endpoint and where its WSDL file resides. The WSDL file lists the operations that service provides.

Prerequisites:
  1. Register with a registry.
  2. Launch the Web Services Explorer.
  3. Add the registry to the Web Services Explorer.
  4. Create a Web service.
  5. Deploy the Web service.
  6. Publish a Business Entity.

You can publish a business service using two different publication formats: simple and advanced.

Publish a business service using the simple option

To publish a Web service using the simple option:

  1. In the Web Services Explorer Navigator pane, select the business entity for which you want to publish the business service.
  2. In the Actions pane toolbar, click the Publish Service icon Picture of the Publish Service icon..
  3. Select the Simple radio button.
  4. Enter the publish URL, your user ID, password, WSDL URL, business name, and business description in the respective fields.
  5. Click Go to publish your business entity.

Important: Ensure that you select the service document, since the service element is the basis for the Business Service that you will publish. You cannot publish a Business Service using a WSDL document that does not have service elements.

The Web Services Explorer is automatically updated with your published Web service. The registry contains pointers to the URL of the WSDL service document of the Web service. Businesses can now discover and integrate with your Web service.

Publish a business service using the advanced option

To publish a Web service using the advanced option:

  1. In the Web Services Explorer Navigator pane, select the business entity for which you want to publish the business service.
  2. In the Actions pane toolbar, click the Publish Service icon Picture of the Publish Service icon..
  3. Select the Advanced radio button.
  4. Enter the publish URL, your user ID, password, and WSDL URL in the respective fields.
  5. Click Get or Find to associate the service with a business entity.
  6. Click Get or Find to associate a specific service interface with the service.
  7. Click Add to create business service names.
  8. Click Add to create business service descriptions.
  9. Click Add to create categories. Enter your business service categories. Select a category type from the drop down list. Click Browse to open the Categories pane.  Navigate through the hierarchical taxonomy and select the appropriate classification for your business service, then exit the Categories pane.
  10. Click Go to publish your business entity.

Important: Ensure that you select the service document, since the service element is the basis for the Business Service that you will publish.  You cannot publish a Business Service using a WSDL document that does not have service elements.

The Web Services Explorer is automatically updated with your published Web service. The registry contains pointers to the URL of the WSDL service document of the Web service. Businesses can now discover and integrate with your Web service.