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:
- Register with a registry.
- Launch the Web Services Explorer.
- Add the registry to the Web Services Explorer.
- Create a Web service.
- Deploy the Web service.
- 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:
- In the Web Services Explorer Navigator pane, select the business entity for which you want to publish the business service.
- In the Actions pane toolbar, click the Publish Service icon .
- Select the Simple radio button.
- Enter the publish URL, your user ID, password, WSDL URL, business name, and business description in the respective fields.
- 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:
- In the Web Services Explorer Navigator pane, select the business entity for which you want to publish the business service.
- In the Actions pane toolbar, click the Publish Service icon .
- Select the Advanced radio button.
- Enter the publish URL, your user ID, password, and WSDL URL in the respective fields.
- Click Get or
Find to associate the service with a business entity.
- Click Get or
Find to associate a specific service interface with the service.
- Click Add to create business service names.
- Click Add to create business service descriptions.
- 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.
- 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
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