API:Soap.WSDLItems.TWSDLItems

From RAD Studio API Documentation
Jump to: navigation, search

Soap.WSDLBind.TWSDLDocumentXml.XMLDoc.TXMLDocumentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTWSDLItems

Delphi

TWSDLItems = class(TWSDLDocument, IWSDLItems)

C++

class PASCALIMPLEMENTATION TWSDLItems : public Soap::Wsdlbind::TWSDLDocument

Properties

Type Visibility Source Unit Parent
class public
Soap.WSDLItems.pas
Soap.WSDLItems.hpp
Soap.WSDLItems Soap.WSDLItems

Description

TWSDLDocument represents a WSDL document.

Soap.WSDLItems.TWSDLItems inherits from Soap.WSDLBind.TWSDLDocument. All content below this line refers to Soap.WSDLBind.TWSDLDocument.

TWSDLDocument represents a WSDL document.

Use TWSDLDocument to represent a WSDL (Web Services Definition Language) document. A WSDL document is a special form of XML document that describes the contents of a Web Service application and how you call the services it implements.

TWSDLDocument can read an existing WSDL document from a file, it can be associated with an in-memory string that is the contents of a WSDL document, or it can create a new, empty WSDL document. TWSDLDocument uses an external DOM (Document Object Model) parser to analyze the WSDL document. This parser is usually assigned by specifying the DOMVendor property. When you set the Active property to true, TWSDLDocument uses the DOM parser to parse the WSDL document so that you can examine or modify it.

When TWSDLDocument is created without an Owner, it behaves like an interfaced object. That is, when all references to its interface are released, the TWSDLDocument instance is automatically freed. When TWSDLDocument is created with an Owner, however, it behaves like any other component, and is freed by its Owner.

Tip: Although you can work directly with TWSDLDocument to access a WSDL document, it is often easier to use TWSDLItems, a TWSDLDocument descendant. TWSDLItems implements a number of methods for getting at the definitions in a WSDL document.

See Also