Logging How to Debug

Page 638 Demos The Oracle Service Registry demos suite is used to teach the capabilities of the Oracle Service Registry APIs and how to make use of these to interact with the registry over a SOAP interface. Note If you want to run demos on Oracle Service Registry, make sure you have properly imported the SSL certificate of the application server to the Oracle Service Registry configuration. For more information see Installation Guide. You may also need to modify the Oracle Service Registry URLs used in demos as shown in the demos property file, REGISTRY_HOMEdemosenv.properties. If you get the java.lang.reflect.UndeclaredThrowableException, check whether Oracle Service Registry is running The demos are divided into the following categories: Basic Demos The Basic demos cover inquiry and publishing for versions 1, 2, and 3 of the UDDI specification and WSDL2UDDI for versions 2 and 3. Advanced Demos The Advanced demos discuss custody, subscriptions, validation, and taxonomies. Security Demos In the Security demos, we cover accounts, groups, permissions, and access control lists ACLs. Resources Demos In the resources demos, we cover publishing of WSDL, XML, XSD and XSLT.

1. Basic Demos

Basic Demos section includes the following demos: • UDDI v1 demos • UDDI v2 demos • UDDI v3 demos

1.1. UDDI v1

• UDDI v1 Inquiry demos • UDDI v1 Publishing demos

1.1.1. Inquiry v1

The Oracle Service Registry basic inquiry demo set is used to demonstrate the Oracle Service Registry application programming interfaces capabilities and to teach the reader how to use this API to perform basic inquiry calls to a UDDI registry. This documentation covers the UDDI Version 1 Specification [http:www.oasis-open.orgcommitteesuddi-spec doccontribs.htmuddiv1]. You will learn how to use the Oracle Service Registry client API to contact and get information from a UDDI registry over a SOAP interface. There is one demo for each UDDI call, from find_business to get_tModelDetail. Page 639 The Oracle Service Registry basic inquiry demo set contains following demos to assist you in learning the Oracle Service Registry client API. FindBinding Demonstrates how to construct and fill the Find_binding object, get an Inquiry stub for the UDDI registry, perform a find_binding call, and display the results. FindBusiness Demonstrates how to construct and fill a Find_business object, get an Inquiry stub for the UDDI registry, perform a find_business call and display the results. FindService Demonstrates how to construct and fill a Find_service object, get an Inquiry stub for the UDDI registry, perform a find_service call and display the results. FindTModel Demonstrates how to construct and fill a Find_tModel object, get an Inquiry stub for the UDDI registry, perform a find_tModel call and display the results. GetBindingDetail Demonstrates how to create a Get_bindingDetail object, set the bindingKey of the bindingTemplate to be fetched, get an Inquiry stub for the UDDI registry, perform a get_bindingDetail call, and display the result. GetBusinessDetail Demonstrates how to create a Get_businessDetail object, set the businessKey of the businessEntity to be fetched, get an Inquiry stub for the UDDI registry, perform a get_businessDetail call, and display the result. GetServiceDetail Demonstrates how to create a Get_serviceDetail object, set the serviceKey of the business service to be fetched, get an Inquiry stub for the UDDI registry, perform a get_serviceDetail call, and display the result. GetTModeDetail Demonstrates how to create a Get_tModelDetail object, set the tModelKey of the tModel to be fetched, get an Inquiry stub for the UDDI registry, perform a get_tModelDetail call, and display the result. Prerequisites and Preparatory Steps: Code We expect, that you have already installed the Oracle Service Registry and set the REGISTRY_HOME environment variable to its installation location. To run the Oracle Service Registrys demos, your registry must be running. It is necessary to configure the demos. The configuration system has two levels: global and local. The properties defined at the global level may be overwritten at the local level. The global properties are located in the file: REGISTRY_HOME\demos\env.properties Windows: REGISTRY_HOMEdemosenv.properties UNIX: The values set during the installation of the Oracle Service Registry work out of box, and their modification affects all demos. If you need to redefine a propertys value for a single demo that is, at the local level, edit the file env.properties in the directory where run.bat run.sh is located. Local properties for BasicInquiry demos are loaded in the file: REGISTRY_HOME\demos\basic\inquiry\v1\env.properties Windows: REGISTRY_HOMEdemosbasicinquiryv1env.properties UNIX: Page 640 Prerequisites and Preparatory Steps: Code