Software AG Products 10.7 | Service Development Help | Working with UDDI Registry | Publishing a Service to UDDI Registry
 
Publishing a Service to UDDI Registry
For a service (flow, Java, C, adapter) to be available as a web service through a UDDI registry, you must first create a service first provider web service descriptor that uses the IS service as an operation and then publish that web service descriptor to the UDDI registry.
When you use Designer to publish a web service to a UDDI registry, the Integration Server creates a WSDL file and adds it to the registry.
Keep the following points in mind when you publish a service to a UDDI registry using Designer:
*You can publish a service by creating a provider web service descriptor for the service and dragging it directly from the Package Navigator view to the UDDI Registry view or by right-clicking a provider web service descriptor in the Package Navigator view and selecting Publish Web Services to a UDDI Registry. Designer publishes the service in the UDDI registry with the following characteristics:
*SOAP 1.1 as the protocol
*SOAP Document/Literal as the style and use
*http://host:port as the as the address of the web service
*You can publish a provider web service descriptor to the CentraSite UDDI registry in two different ways:
*By publishing the package that contains the provider web service descriptor via metadata publishing.
*By publishing the provider web service descriptor through the UDDI Registry view.
If you want to publish IS assets in addition to web services, publish the provider web service descriptor by publishing the entire package. If you expect to publish only web services to CentraSite, publish the individual provider web service descriptor through the UDDI Registry view. Typically, users choose one way or the other for publishing web service assets. Software AG does not recommend using a mixture of publishing methods.
*Before publishing a service to a UDDI registry, be sure to create a provider web service descriptor using the IS service as an operation of the web service.
*To publish a service to a UDDI registry
1. From UDDI Registry view, connect to the UDDI registry in which you want to publish the web service.
2. In Package Navigator view, copy the provider web service descriptor that contains an operation for the IS service that you want to expose as a web service.
3. In UDDI Registry view, right-click the entity to which you want to publish the web service and select Publish Web Service.
Designer publishes the service to the UDDI registry.
Notes:
*The governance policies established in the registry may delay the display of the published web service in the UDDI Registry view. Refresh the UDDI registry by selecting Refresh UDDI Registry Display from the context menu to view the published service.
*If Designer cannot display the service you just published in the UDDI Registry view because of the filter setting, Designer will display a message stating so. Clear the applied filter by selecting Clear UDDI Filter from the context menu.
*If you publish the same web service descriptor to a registry twice (without first deleting the original version), two web services will exist with the same name in the registry. However, the Service Key property values will be different for these two services. If you cannot determine which version is the newest, delete both web services from the UDDI registry and re-publish the new version.