Rational Developer for System z, Version 7.6

XsdSpecOut

Use this element of the ServiceProperties.xml document to specify the generation options for the XML schema that corresponds to the output language structure.
Note: If the Output and Input message specifications elsewhere in the same EISService specfication are combined in a single InputOutputMessage, both request and response message definitions come from a single COBOL source. Because of this, the XsdSpecOut schema specification for all attributes except the fileName will be ignored for the response schema. The resulting external XSD file for XsdSpecOut in this case will be identical to the XSD file resulting from XsdSpecIn. The types section of a resulting WSDL file will only have one schema type definition (that will be defined by characteristics of the XsdSpecIn).
XseSpec

Contains

None

Attributes

Table 1 shows the attributes for XsdSpecOut.

Table 1. Attribute Specifications for XsdSpecOut
Fields Description

Attribute: fileName
Valid values: See Description
Required?: No
Default value: See Description

Specifies the name of the output file.

The default value is: Data source file name concatenated with "O"

Attribute: localNamespace
Valid values: See Description
Required?: No
Default value: See Description

Specifies the local namespace.
Note: Request namespaces have no effect on the code generated in the request converter.

The default value is: http://www.w3.org/2001/XMLSchema

Attribute: overwrite
Valid values: true | false
Required?: No  
Default value: true

Specifies whether to overwrite the output file if it exists.

Attribute: suppressGeneration
Valid values: true | false
Required?: No
Default value: false

Indicates whether or not to suppress generation of the response XML Schema file.

Attribute: targetNamespace
Valid values: See Description
Required?: No
Default value: See Description

Specifies the target namespace.

The default value is: For a data source file name foo: http://www.fooO.com/schemas/fooIInterface

Attribute: whiteSpace
Valid values: collapse | replace |
preserve | compat
Required?: No
Default value: collapse

The value of this attribute directs the Batch processor to generate XML Schemas and XML converter programs that support the three standard whitespace processing options in XML Schema: "preserve", "replace", and "collapse". Every element in the generated XML Schema is assigned the value of this attribute for its whiteSpace option. The value of this attribute is ignored when XML converters are being generated for the "Map and Existing Service Interface" scenario since the setting in the mapped XML Schema must be assumed.

To direct the Batch processor to generate XML Schemas and XML converter programs that are compatible with releases prior to version 7.5, specify the value "compat".

Attribute: xsdElemName
Valid values: See Description
Required?: No
Default value: See Description

Specifies the global element name for the schema.

The default value is: Value of the nativeTypeName attribute in the message specification.

Attribute: xsdNamespace
Valid values: See Description
Required?: No
Default value: See Description

Specifies the xsd namespace.

The default value is: Value of the nativeTypeName attribute in the message specification.

Attribute: xsdPrefix
Valid values: See Description
Required?: No
Default value: cbl

Specifies the xsd namespace prefix.

Example

<XsdSpecOut fileName="DFH0CSTDO.xsd" overwrite="true"
        targetNamespace="http://www.DFH0CSTDO.com/schemas/DFH0CSTDOInterface"
        xsdNamespace=http://www.w3.org/2001/XMLSchema
        localNamespace=http://www.DFH0CSTDO.com/schemas/DFH0CSTDOInterface
        xsdPrefix="cbl"
        xsdElemName="dfhcommarea"/>

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)