wsdCodeGen element
Is the root element of an WSDAPI code generator XML script file.
<wsdCodeGen
ConfigFileVersion = "Any character string.">
child elements
</wsdCodeGen>
Attribute | Type | Required | Description |
---|---|---|---|
ConfigFileVersion |
Any character string. |
Yes |
The version of the configuration file. The only valid value is "1.0". |
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. |
(
layerNumber?,
layerPrefix?,
autoStatic?,
hostMetadata?,
thisModelMetadata?,
nameSpace*,
wsdl*,
xsd*,
file*,
macro*,
relationshipMetadata*
)
There are no parent elements.
In general, file elements should occur last because they generate code which uses data specified by the other elements.
Label | Value |
---|---|
Minimum supported system |
Windows Vista |
Can be empty | Yes |