Chapter 3 Creating and Using WSDL Documents


Setting up WSDL documents

The values you provide in the Create WSDL Document dialog box determine the properties of your WSDL document. In particular, the Definitions name is used to create the interface file name and the implementation file name. Sybase recommends creating a Definitions name that describes the content of the WSDL document to make it easy to recognize and manage; however, you can create any name you want.

Your WSDL document is created in the Webservices\work\wsdl directory in the EAServer installation.

This section discusses:

Creating a WSDL document

Steps To create a WSDL document

  1. To connect Web Services to EAServer, go to Tools | Connect | Web Services Toolkit.
  2. Right-click WSDL Documents in the Details pane of Sybase Central. Select New WSDL Document. The Create WSDL Document dialog box opens.
  3. Enter values in the following boxes:

  4. Click OK.

    Your document name appears in the Details pane.

Editing your WSDL document's properties

Steps To view and change the properties of your WSDL document

  1. Right-click in the Details pane on the Definitions Name of the WSDL document whose properties you want to edit. Select Properties. The WSDL Document Properties dialog box opens.

    The General tab displays the Definitions Name, Target Namespace, and Description. The Interface Name and Implementation Name of the WSDL document appear below the Description box.
  2. Edit the values you want to change in the description.
  3. Click OK to save your changes.

Viewing the XML for your WSDL document

Steps To view the XML for your WSDL document

  1. Follow step 1 in the previous procedure, "Editing your WSDL document's properties".
  2. Click the XML tab in the WSDL Document Properties dialog box to display the XML for your WSDL document. Click Cancel to return to the main pane of Sybase Central.

 


Copyright © 2002 Sybase, Inc. All rights reserved.