Publishing and Browsing the Oracle Service Registry How to Configure a SOA project to Invoke a Service from the Registry

To Manually Publish a Business Service 1. Go to the Registry Control: http:hostname:portregistryuddiweb 2. Click Publish WSDL. 3. Log in when prompted. 4. Complete the fields on this page to specify the access point URL and publish the WSDL for the business service. The following screen provides details. Note If you later change your endpoint location, you must also update the WSDL location in the Registry Control. Otherwise, UDDI invocation fails during runtime. To change the WSDL location: 1. Log in to the Registry Control. 2. Navigate to the service. 3. Change both URLs within the port type and binding information using the model key.

1.2.2. How to Configure a SOA project to Invoke a Service from the Registry

To configure a SOA project to invoke a service from the registry: 1. Open the SOA project in which to create a reference to the business service. 2. Drag a Web Service icon into the External Services swimlane. The Create Web Service dialog appears. 3. To the right of the WSDL URL field, click the icon to select a WSDL. 4. From the list at the top, select Resource Palette. 5. Expand the navigational tree. 6. Expand UDDI Registry Business Services. 7. Select the published business service, and click OK. The following screen provides details. Page 284

1.2.2. How to Configure a SOA project to Invoke a Service from the Registry

The UDDI Deployment Options dialog appears. 8. Select one of the following deployment options: • Dynamically resolve the SOAP endpoint location at runtime. • Dynamically resolve the concrete WSDL location at runtime. The following screen provides details. 9. Click OK. You are returned to the Create Web Service dialog. 10. See the following section based on your selection in the UDDI Deployment Options dialog. Page 285 1.2.2. How to Configure a SOA project to Invoke a Service Dynamically Resolving the SOAP Endpoint Location 1. Complete the remaining fields in the Create Web Service dialog, and click OK. The Create Web Service dialog looks as shown in the following screen. 2. Verify the wiring of the reference with the appropriate service component. Dynamically Resolving the WSDL Endpoint Location 1. Complete the remaining fields in the Create Web Service dialog, and click OK. The Create Web Service dialog looks as shown in the following screen. 2. Verify the wiring of the reference with the appropriate service component.

1.2.3. How To Configure the Inquiry URL, UDDI Service Key, and Endpoint Address for Runtime

You can set the inquiry URL, UDDI service key, and endpoint address during runtime in Oracle Enterprise Manager Fusion Middleware Control Console. To configure the inquiry URL, service key, and endpoint reference for runtime: 1. Log in to Oracle Enterprise Manager Fusion Middleware Control Console and navigate to Common Properties, as shown in the following screen. Page 286

1.2.3. How To Configure the Inquiry URL, UDDI Service Key, and Endpoint Address for Runtime

2. Specify values for the following properties: • In the SOA Infrastructure Common Properties page, specify the same UDDI inquiry URL in the Inquiry URL text box, as shown in the following screen, that you specified in the Create UDDI Registry Connection wizard. For example, http:TST.myhost.com:7101registryuddiinquiry. Page 287 1.2.3. How To Configure the Inquiry URL, UDDI Service