How Do I: Get a WSDL from a UDDI Registry and Turn It into a Web Service Control?

WebLogic Workshop provides a way to get a WSDL from a public or private UDDI registry and bring it in as a Web Service control in your JWS file.

To Take a WSDL from a UDDI Registry and Add it as a Control

  1. In Design View, from the Insert menu, select Controls-->Web Service. The Insert Control - Insert Web Service dialog appears.
  2. In the Step 1 pane , 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.
  3. In the Step 2 pane, click Create a new Web Service control to use and provide a new JCX Name.
  4. In the Step 3 pane, click UDDI. This button opens the UDDIExplorer, a web application that allows you to browse both public and private registries for web services stored as WSDL files.
  5. Use the Search a Public Registry and Search a Private Registry links to locate a WSDL. There is also an Explorer Help link on the web application page if you need assistance.
  6. When you find the WSDL file you wish to use as a Web Service control, copy the URL for the WSDL and return to the Insert Control - Insert Web Service dialog.
  7. Paste the URL for the WSDL into the File or URL box.
  8. Click Create.

A JCX file is 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.

Related Topics

Web Service Control

WSDL Files: Web Service Descriptions