How Do I: Get a WSDL from a UDDI Registry and Turn It into a Service Control?
WebLogic Workshop provides a way to get a WSDL from a public or private UDDI registry and bring it in as a Service control in your JWS file.
To Take a WSDL from a UDDI Registry and Add it as a Control
In Design View, from the Add Control drop-down list, select Add Service Control. The Add Service Control dialog appears.
In step 1, enter a name that your web service will use to reference the control to be created from the WSDL. The name must be a valid Java identifier.
In step 2 of the dialog, select Create a Service Control from a WSDL, then click UDDI. This button opens a browser and the UDDIExplorer, a web application that allows you to browse both public and private registries for web services stored as WSDL files.
Use the Search a Public Registry and Search a Private Registry links to locate a WSDL. There is also a Help link on the web application page if you need assistance.
When you find the WSDL file you wish to use as a Service control, copy the URL for the WSDL and return to the Add Service Control dialog.
Paste the URL for the WSDL into the File or URL box.
Click Create.
A CTRL file will be created in the same directory as the web service to which it was being added, and a reference to that control will be added to your web service. This control can now be used to access the web service represented by the WSDL.