Package org.citrusframework.xml.schema
Class WsdlXsdSchema
java.lang.Object
org.springframework.xml.xsd.SimpleXsdSchema
org.citrusframework.xml.schema.AbstractSchemaCollection
org.citrusframework.xml.schema.WsdlXsdSchema
- All Implemented Interfaces:
InitializingPhase,org.springframework.beans.factory.InitializingBean,org.springframework.xml.xsd.XsdSchema
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 org.citrusframework.xml.schema.AbstractSchemaCollection
importedSchemas, schemaResources, W3C_XML_SCHEMA_NS_URI, WWW_W3_ORG_2000_XMLNS -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorWsdlXsdSchema(Resource wsdl) Constructor using wsdl resource. -
Method Summary
Modifier and TypeMethodDescriptionLoads all schema resource files from schema locations.voidSets the wsdl.Methods inherited from class org.citrusframework.xml.schema.AbstractSchemaCollection
addImportedSchemas, addIncludedSchemas, createValidator, getSchemaResources, initialize, toSpringResourceMethods inherited from class org.springframework.xml.xsd.SimpleXsdSchema
afterPropertiesSet, getSource, getTargetNamespace, setXsd, toString
-
Constructor Details
-
WsdlXsdSchema
public WsdlXsdSchema()Default constructor -
WsdlXsdSchema
Constructor using wsdl resource.- Parameters:
wsdl-
-
-
Method Details
-
loadSchemaResources
Description copied from class:AbstractSchemaCollectionLoads all schema resource files from schema locations.- Specified by:
loadSchemaResourcesin classAbstractSchemaCollection
-
setWsdl
Sets the wsdl.- Parameters:
wsdl- the wsdl to set
-