wsdCodeGen element
Is the root element of an WSDAPI code generator XML script file.
Usage
<wsdCodeGen
ConfigFileVersion = "Any character string.">
child elements
</wsdCodeGen>
Attributes
Attribute | Type | Required | Description |
---|---|---|---|
ConfigFileVersion |
Any character string. |
Yes |
The version of the configuration file. The only valid value is "1.0". |
Child elements
Element | Description |
---|---|
autoStatic |
Indicates whether or not WsdCodeGen should try to automatically flag certain generated fields as static. This is enabled by default. |
file |
Directs the code generator to generate a file. |
hostMetadata |
The hosting metadata for the device to be implemented. This element is used for device implementations (hosts) only. |
layerNumber |
The number of the code layer to be generated. Layer numbers are used in runtime tables to distinguish one layer of code for another. WSDAPI itself uses generated code that has a layer number of 0. |
layerPrefix |
The prefix to use in the generated code to assure uniqueness of generated symbols. WSDAPI uses the prefix "WSD". |
macro |
Defines text or CDATA to be reused by the include element. |
nameSpace |
Describes a namespace to be used for code generation. |
relationshipMetadata |
Describes the host and hosted metadata for the device. |
thisModelMetadata |
The manufacturer and model metadata for the device to be implemented. This element is used for device implementations (hosts) only. |
wsdl |
Specifies a WSDL file to process for contract information. |
xsd |
Specifies an XSD file to process for contract information. |
Child element sequence
(
layerNumber?,
layerPrefix?,
autoStatic?,
hostMetadata?,
thisModelMetadata?,
nameSpace*,
wsdl*,
xsd*,
file*,
macro*,
relationshipMetadata*
)
Parent elements
There are no parent elements.
Remarks
In general, file elements should occur last because they generate code which uses data specified by the other elements.
Element information
Label | Value |
---|---|
Minimum supported system |
Windows Vista |
Can be empty | Yes |