RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.Create Constructor (TComponent)

Creates and initializes a TWSDLItems object.

Pascal
constructor Create(AOwner: TComponent); override; overload;
constructor Create(const WSDLItems: TWSDLItems; const StreamLoader: IStreamLoader); virtual; overload;
C++
virtual __fastcall TWSDLItems(TComponent * AOwner);
virtual __fastcall TWSDLItems(const TWSDLItems WSDLItems, const IStreamLoader StreamLoader);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!