schemas.jax-rpc-ri-config.xsd Maven / Gradle / Ivy
This is the schema for wscompile configuration files.
The only allowed top-level element is "configuration".
The top-level element. It must contain one out of three possible elements,
corresponding to three different ways to feed service information to the tool.
Elements: (mutually exclusive)
"service" - a service description based on a set of service endpoint interfaces;
"wsdl" - a WSDL document to import and process;
"modelfile" - a previously saved model file (-model option in wscompile).
"j2eeMappingFile" - J2EE mapping information defined by JSR 109
A description of a service based on a set of Java interfaces (called "service endpoint
interfaces" in the spec).
Attributes:
"name" - service name;
"targetNamespace" - target namespace for the generated WSDL document;
"typeNamespace" - target namespace for the XML Schema embedded in the generated WSDL document;
"packageName" - name of the Java package to use by default.
Elements:
"interface"* - a sequence of service endpoint interface descriptions;
"typeMappingRegistry"? - the type mapping registry to use for this service;
"handlerChains"? - default handler chains for the endpoints in this service;
"namespaceMappingRegistry"? - XML namespace to Java package mapping information.
An endpoint definition based on a service endpoint interface.
Attributes:
"name" - name of the service endpoint interface (a Java interface);
"servantName" (optional) - name of the service endpoint implementation class;
"soapAction" (optional) - SOAPAction string to use for all operations in the interface;
"soapActionBase" (optional) - base URI for the SOAPAction string; the SOAPAction for
a given operation will be obtained by appending the operation name to the value provided
here; this attribute is exclusive with the "soapAction" one.
Elements:
"handlerChains" - specifies the handler chains for this endpoint.
A description of a service based on an existing WSDL document.
Attributes:
"location" - URL of the WSDL document;
"packageName" - name of the Java package to use by default.
Elements:
"typeMappingRegistry"? - the type mapping registry to use for this service;
"handlerChains"? - default handler chains for the endpoints in this service;
"namespaceMappingRegistry"? - XML namespace to Java package mapping information.
A description of a service based on an existing model file.
Attributes:
"location" - URL of the model file (typically ending in .xml.gz);
Attirbutes:
"location" - the J2EE mapping file URL
"wsdlLocation" - the wsdl file URL
A set of handlerChains.
A handler chain.
Attributes:
"runAt" - specifies whether the chain must run on the client or the server;
"roles" - the SOAP roles for the chain.
Elements:
"handler"* - a sequence of handlers that form this chain.
A list of SOAP roles, i.e. a list of URIs.
A handler description.
Attributes:
"className" - the name of the handler's class;
"headers" - the names of the headers consumed by this handler.
Elements:
"property"* - initialization properties for this handler.
A list of header names, i.e. a list of QNames.
An initialization property for a handler.
Attributes:
"name" - the name of the property;
"value" - its value.
The places a handler chain can run at, one of "client" or "server".
A type mapping registry.
Elements:
"import"? - a list of XML Schema documents that describe user-defined types.
"typeMapping"* - a sequence of type mappings, one per encoding.
"additionalTypes"? - a list of additional Java types that should be processed even if
don't appear in the interfaces for the service.
A list of schema documents to import, usually describing schema types used
by pluggable serializers.
Elements:
"schema"* - a list of schema documents to import.
One schema document to be imported.
Attributes:
"namespace" - the namespace that the document describes;
"location" - a URL pointing to the schema document.
A type mapping for a particular encoding.
Attributes:
"encodingStyle" - the URI denoting the encoding.
Elements:
"entry"* - a list of type mapping entries.
An entry in a type mapping.
Attributes:
"schemaType" - the name of a schema type;
"javaType" - the name of the corresponding Java class;
"serializerFactory" - the name of the serializer factory class to use for this type;
"deserializerFactory" - the name of the deserializer factory class to use for this type.
A list of additional Java types to be processed by the tool..
Elements:
"class"* - a list of classes to be processed.
A Java class description.
Attributes:
"class" - the name of the class.
A registry mapping XML namespace to/from Java packages.
Elements:
"namespaceMapping"* - a list of mappings.
One XML namespace to/from Java package mapping.
Attributes:
"namespace" - XML namespace name;
"packageName" - Java package name.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy