class WsdlConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WsdlConfig.BaseSchemaType
Base definition for a custom type defined in the WSDL schema.
|
private static class |
WsdlConfig.ComplexSchemaType
Defines a complex schema type.
|
(package private) static class |
WsdlConfig.DataSetSchemaType
Definition of a type associated with a DATASET.
|
(package private) static class |
WsdlConfig.TableSchemaType
Definition of a type associated with a TABLE.
|
(package private) static class |
WsdlConfig.WSDLSchema
A loaded schema configuration from a WSDL file.
|
Modifier and Type | Field and Description |
---|---|
private javax.wsdl.Definition |
definition
The WSDL definition.
|
private java.util.Map<javax.xml.namespace.QName,WsdlConfig.WSDLSchema> |
schemas
All the defined schemas in the WSDL document.
|
Constructor and Description |
---|
WsdlConfig(javax.wsdl.Definition definition)
Create new instance.
|
Modifier and Type | Method and Description |
---|---|
javax.wsdl.Definition |
getDefinition()
Get the WSDL definition.
|
private static java.lang.String |
removeNamespace(java.lang.String name)
Remove the namespace from the specified name.
|
LegacyServiceParameter[] |
resolveParameters(LegacySignature ls,
javax.wsdl.Operation op)
From the given legacy signature, resolve the service parameters.
|
java.util.Map<java.lang.String,WsdlConfig.BaseSchemaType> |
resolveParameters(javax.wsdl.Message msg)
Resolve the WSDL parameters for the specified WSDL message.
|
private java.util.List<LegacyServiceParameter> |
resolveParameters(javax.wsdl.Message msg,
boolean input,
java.util.Map<java.lang.String,java.lang.Integer> ordinals,
java.util.Map<java.lang.String,java.lang.String> types,
java.util.Map<java.lang.String,java.lang.String> modes)
For the specified message, resolve the service's input or output parameters.
|
java.util.Map<java.lang.String,WsdlConfig.BaseSchemaType> |
resolveParameters(javax.wsdl.Operation op)
Resolve the input and output parameters for the specified operation.
|
WsdlConfig.WSDLSchema |
resolveSchema(javax.wsdl.Message msg,
java.lang.String partName)
Resolve the schema for the specified message.
|
private final javax.wsdl.Definition definition
private final java.util.Map<javax.xml.namespace.QName,WsdlConfig.WSDLSchema> schemas
public WsdlConfig(javax.wsdl.Definition definition)
schemas
.definition
- The WSDL definition.private static java.lang.String removeNamespace(java.lang.String name)
name
- The qualified name.public javax.wsdl.Definition getDefinition()
definition
.public java.util.Map<java.lang.String,WsdlConfig.BaseSchemaType> resolveParameters(javax.wsdl.Operation op)
op
- The SOAP operation.public LegacyServiceParameter[] resolveParameters(LegacySignature ls, javax.wsdl.Operation op)
ls
- The legacy signature associated with the 4GL target (internal entry, program, class, method).op
- The WSDL operation.public java.util.Map<java.lang.String,WsdlConfig.BaseSchemaType> resolveParameters(javax.wsdl.Message msg)
msg
- The message (input or output, for an operation). Must have a parameters
attribute.public WsdlConfig.WSDLSchema resolveSchema(javax.wsdl.Message msg, java.lang.String partName)
msg
- The message (input or output, for an operation). Must have a parameters
attribute.partName
- The part defining the parameters.private java.util.List<LegacyServiceParameter> resolveParameters(javax.wsdl.Message msg, boolean input, java.util.Map<java.lang.String,java.lang.Integer> ordinals, java.util.Map<java.lang.String,java.lang.String> types, java.util.Map<java.lang.String,java.lang.String> modes)
msg
- The WSDL message. Must have a parameters
part.input
- Flag indicating if this is needed for input or output parameters.ordinals
- The parameter's mapping to their position at the 4GL definition.types
- The parameter's mapping to their legacy type.modes
- The parameter's mapping to their mode (INPUT/OUTPUT/INPUT-OUTPUT).