Soap.WSDLItems.TWSDLItems.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); overload; override;
constructor Create(const WSDLItems: TWSDLItems; const StreamLoader: IStreamLoader); overload; virtual;

C++

__fastcall virtual TWSDLItems(System::Classes::TComponent* AOwner)/* overload */;
__fastcall virtual TWSDLItems(TWSDLItems* const WSDLItems, const Soap::Wsdlintf::_di_IStreamLoader StreamLoader)/* overload */;
/* TXMLDocument.Create */ inline __fastcall TWSDLItems(const System::UnicodeString AFileName)/* overload */ : Soap::Wsdlbind::TWSDLDocument(AFileName) { }

Properties

Type Visibility Source Unit Parent
constructor public
Soap.WSDLItems.pas
Soap.WSDLItems.hpp
Soap.WSDLItems TWSDLItems

Description

Creates and initializes a TWSDLItems object.

Call Create to instantiate a TWSDLItems component at runtime. Typically, TWSDLItems instances are created by other components, such as THTTPRIO, that use them.

AOwner is another component, typically a form or data module, that is responsible for freeing the TWSDLItems instance. It becomes the value of the Owner property.

WSDLItems is another TWSDLItems object that the new instance can use to extract a stream loader if none is specified using the StreamLoader property,

StreamLoader is an interface to use for loading the WSDL document from a server. It includes properties for specifying the user name, password, and proxy server needed to connect to the server that hosts the WSDL document.

If you do not specify a stream loader, the TWSDLItems constructor creates one as follows: Using the first syntax, it creates a default stream loader object. Using the second syntax, it uses the stream loader from the TWSDLItems instance that is the first parameter. Thus, when using the second syntax, you must supply either the WSDLItems or StreamLoader argument.

See Also