# 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, select UDDI Main and select the registry to which you want to publish the business entity.
2. In the Actions pane toolbar, click the Publish icon .
3. Select Service and select the Simple radio button.
4. Enter the publish URL, your user ID, password, WSDL URL, service name, and service 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.

- Data structure types (UDDI registry)
  Once you have registered and logged in to the UDDI registry that you want to use, you can register your Web service. Registration of a service involves four core data structure types: business information, service information, binding information, and information describing the specifications for services. The relationship between these data types is described in Figure 1.

Parent topic: Publishing Web services and business entities

## Publish a business service using the advanced option

To publish a Web service using the advanced option:

1. In the Web Services Explorer, select UDDI Main and select the registry to which you want to publish the business entity.
2. In the Actions pane toolbar, click the Publish icon .
3. Select Service and 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 service names.
8. Click Add to create service descriptions.
9. Click Add to create categories. Enter your 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.

- Data structure types (UDDI registry)
  Once you have registered and logged in to the UDDI registry that you want to use, you can register your Web service. Registration of a service involves four core data structure types: business information, service information, binding information, and information describing the specifications for services. The relationship between these data types is described in Figure 1.

Parent topic: Publishing Web services and business entities
Related Concepts
Tools for Web services development
Web services development
Universal Description, Discovery, and Integration (UDDI)
Related Tasks
Publishing Web services and business entities
Launching the Web Services Explorer
Registering with a UDDI registry
Related Reference
Data structure types (UDDI registry)