Chapter 3 Creating and Using WSDL Documents


WSDL documents overview

Web Services Toolkit separates WSDL service definitions into an interface (or abstract) file and an implementation file. Web Services Toolkit creates an interface and implementation file for each WSDL document it generates. The following section describes these files.

The interface file

An interface file contains a description of a Web service that abstractly defines the interface of the service. This description includes the following XML elements:

These elements represent a generic interface that any service provider can use.

The implementation file

The implementation file contains the Definitions elements that describe a specific instance of a Web service by a specific provider. This description includes the XML elements:

The Port element provides the Operations accesspoint to the specific service, and the Binding element associates a protocol with an abstract entity, for example to a message. The protocol information can contain provider-specific information, such as the SOAPAction. Other Web Services Toolkit suppliers may choose to partition the WSDL elements into the interface and implementation files differently.

Note   This version of Web Services Toolkit supports only the SOAP extensibility elements. Under another extensibility scheme definition, the SOAPAction would be replaced by the scheme's intent field.

 


Copyright © 2002 Sybase, Inc. All rights reserved.