
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
To create a WSDL document
- To connect Web Services to EAServer, go
to Tools | Connect | Web Services Toolkit.
- Right-click WSDL Documents in the Details pane
of Sybase Central. Select New WSDL Document. The Create WSDL Document
dialog box opens.
- Enter values in the following boxes:
- Definitions Name - the name
attribute of the WSDL Definitions element. This value is used to
create the interface file name and the implementation file name.
It can be any value but Sybase recommends a name that describes
the WSDL document content.
- Target Namespace - a valid Uniform Resource
Identifier (URI) for the location where the WSDL document is published.
This value is currently unvalidated. It should not include the file
name; Web Service Toolkit appends the appropriate file name when
the WSDL document is generated.
- Description - (optional) a description
of your WSDL document.
- Click OK.
Your document name appears in the Details pane.
Editing your WSDL document's properties
To view and change the properties of your WSDL
document
- 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.
- Edit the values you want to change in the description.
- Click OK to save your changes.
Viewing the XML for your WSDL document
To view the XML for your WSDL document
- Follow step 1 in the previous procedure, "Editing your WSDL document's
properties".
- 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.
|
|