@jws:schema Tag

Specifies the schema file whose types are referenced in the @jws:parameter-xml schema and @jws:return-xml schema tags elsewhere in a JWS or CTRL file.

# Syntax

    @jws:schema
    	file="schemaToImport"

# Attributes

file

Required. The filename or @jws:define tag referring to the schema to import. Note that this attribute must refer to a file that is available on the local computer or on a mapped drive; it cannot refer to a URL.

# Remarks

The following rules apply to this tag's use:

- Multiple @jws:schema tags are allowed within a single Javadoc comment block.

- Optionally may appear in front of a class in a JWS file.

- Optionally may appear in front of an interface in a CTRL file.

The file attribute should refer to a file or a @jws:define tag that contains a schema file. The filename resolution rules are the same as for the @jws:implements tag.

Any number of schema files can be imported by using multiple @jws:schema tag declarations. When outputting WSDL files, imported schemas are copied and inserted inline into the WSDL.

Related Topics

@jws:parameter-xml Tag

@jws:return-xml Tag

@jws:define Tag

@jws:wsdl Tag