Package com.consol.citrus.xml.schema
Class WsdlXsdSchema
- java.lang.Object
-
- org.springframework.xml.xsd.SimpleXsdSchema
-
- com.consol.citrus.xml.schema.AbstractSchemaCollection
-
- com.consol.citrus.xml.schema.WsdlXsdSchema
-
- All Implemented Interfaces:
com.consol.citrus.common.InitializingPhase,org.springframework.beans.factory.InitializingBean,org.springframework.xml.xsd.XsdSchema
public class WsdlXsdSchema extends AbstractSchemaCollection
Wrapper implementation takes care of nested WSDL schema types. Exposes those WSDL schema types as xsd schema instances for schema repository. WSDL may contain several schema types which get exposed under a single target namespace (defined on WSDL level).- Since:
- 1.3
- Author:
- Christoph Deppisch
-
-
Field Summary
-
Fields inherited from class com.consol.citrus.xml.schema.AbstractSchemaCollection
importedSchemas, schemaResources, W3C_XML_SCHEMA_NS_URI, WWW_W3_ORG_2000_XMLNS
-
-
Constructor Summary
Constructors Constructor Description WsdlXsdSchema()Default constructorWsdlXsdSchema(org.springframework.core.io.Resource wsdl)Constructor using wsdl resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.io.ResourceloadSchemaResources()Loads all schema resource files from schema locations.voidsetWsdl(org.springframework.core.io.Resource wsdl)Sets the wsdl.-
Methods inherited from class com.consol.citrus.xml.schema.AbstractSchemaCollection
addImportedSchemas, addIncludedSchemas, createValidator, getSchemaResources, initialize
-
-
-
-
Method Detail
-
loadSchemaResources
public org.springframework.core.io.Resource loadSchemaResources()
Description copied from class:AbstractSchemaCollectionLoads all schema resource files from schema locations.- Specified by:
loadSchemaResourcesin classAbstractSchemaCollection
-
setWsdl
public void setWsdl(org.springframework.core.io.Resource wsdl)
Sets the wsdl.- Parameters:
wsdl- the wsdl to set
-
-