Rational Developer for System z

WSDL2ELSSpec

Use this element of the ServiceSpecification.xml document to specify options for generating the artifacts that implement a service description in a top-down scenario.

Contained by

ServiceImplementationSpec

Contains

None

Attributes

Table 1 shows the attributes for WSDL2ELSSpec.

Table 1. Attribute specifications for WSDL2ELSSpec
Fields Description

Attribute: defaultCharMaxLength
Valid values: n where 1 <= n <= (215 – 1)
Required?: No
Default value: n = 256

Specifies a value that is applied when elementary language structure members are generated for XSD element and attribute declarations of the following types:
  • xsd:string
  • xsd:simpleType having xsd:string as its base type but omitting the length or maxLength constraining facets.

Attribute: defaultTotalDigits
Valid values: n where 1 <= n <= 31
Required?: No
Default value: n=31

Specifies a value that is applied when elementary language structure members are generated for XSD element and attribute declarations of the following types:
  • xsd:decimal
  • xsd:integer
  • xsd:simpleType having either xsd:decimal or xsd:integer as its base type but omitting the totalDigits constraining facet.

Attribute: defaultFractionDigits
Valid values: n where 0 <= n <= 31
Required?: No
Default value: n = 6

Specifies a value that is applied when elementary language structure members are generated for XSD element and attribute declarations of the following types:
  • xsd:decimal
  • xsd:simpleType having xsd:string as its base type but omitting the fractionDigits constraining facet.

Attribute:  defaultDateTimeLength
Valid values: n where 1 <= n <= (215 – 1)
Required?: No
Default value: n = 64

Specifies a value that is applied when elementary language structure members are generated for XSD element and attribute declarations of the following types:
  • xsd:date, xsd:dateTime, xsd:duration, xsd:gDay, xsd:gMonth, xsd:gMonthDay, xsd:gYear, xsd:gYearMonth, and xsd:time.
  • xsd:simpleType having one of the preceding types as its base type but omitting the length or maxLength constraining facets.

Attribute: inlineMaxOccursLimit
Valid values: n where 1 <= n <= (231 – 1)
Required?: No
Default value: n=20

Specifies a value that is applied when language structure members are generated for XSD element declarations that specify the minOccurs and maxOccurs facets.

If an XML element specifies a minOccurs or maxOccurs facet value that is greater than the value of this attribute, then the generated PL/I code uses arrays whose limits are determined at execution time (for example, by using the REFER clause in PL/I).

Attribute: languageNameLimit
Valid values: n where 1 <= n <= 100
Required?: No
Default value: n=100

Specifies a value that is applied when names are derived for language structures and language structure members from the names of corresponding XSD element and attribute declarations.

For PL/I, if the value of this attribute is greater than 31 then generated language structures must be compiled with the option “LIMITS(NAME(n))”, where 31 < n <= 100.

Attribute: targetLanguageFile
Valid values: See Description.
Required?: Yes
Default value: None

Specifies the fully qualified file name of the generated file into which language structures are written.

If the file does not exist it is created. If the file exists it is overwritten.

Attribute: targetLogFile
Valid values:  See Description.
Required?: Yes
Default value: None

Specifies the fully qualified file name of the file into which log information is written.

If the file does not exist it is created. If the file exists it is overwritten.

Attribute: targetMappingDirectory
Valid values: See Description.
Required?: Yes
Default value: None

Specifies the fully qualified name of the directory in which the metadata file is created.

If the directory does not exist it is created. If the directory exists its contents are overwritten.

Attribute: targetMetadataFile
Valid values: See Description.
Required?: Yes
Default value: None

Specifies the fully qualified file name of the file into which generation metadata is written.

If the file does not exist it is created. If the file exists it is overwritten.

Example

<WSDL2ELSSpec 
    defaultCharMaxLength="256"
    defaultTotalDigits="31" 
    defaultFractionDigits="6"
    defaultDateTimeLength="64"
    inlineMaxOccursLimit="20"
    languageNameLimit="31" 
    targetLanguageFile="C:\workspace\EISProject\MYAPP.inc"
    targetLogFile="C:\workspace\EISProject\MYAPP.log"
    targetMappingDirectory="C:\workspace\EISProject\mapping"
    targetMetadataFile="C:\workspace\EISProject\MYAPP_metadata.xml" />


Terms of use | Feedback

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