class SoapConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.String> |
configs
Contains the text and attributes for various XML elements in the .wsm files.
|
private java.util.List<SoapOperation> |
operations
The SOAP operations exported by this .wsm file.
|
private SoapWsdl |
wsdl
The SOAP WSDL configuration, to which operations are added.
|
| Constructor and Description |
|---|
SoapConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(SoapOperation op)
Add the operation to the
operations list. |
void |
addOperations(java.util.List<SoapOperation> ops)
Add the list of operations to the
operations list. |
void |
checkOperations()
Check if any operations are not registered in the WSDL document.
|
void |
generateWsdl(java.lang.String path)
Generate the WSDL document for this SOAP configuration and save it in the specified path.
|
java.lang.String |
getConfig(java.lang.String key)
Get the configuration with the specified key, from the
configs map. |
java.util.List<SoapOperation> |
getSoapOperation(java.lang.String file,
java.lang.String program,
java.lang.String internalEntry)
Find all SOAP operations configured in the .wsm document(s), for this external program and internal
entry, or class and method.
|
SoapWsdl |
getWsdl()
Get the
wsdl configuration. |
void |
putConfig(java.lang.String key,
java.lang.String val)
Put the specified configuration in
configs. |
void |
putConfigs(java.util.Map<java.lang.String,java.lang.String> configs)
Load all the specified configurations into
configs. |
private java.util.Map<java.lang.String,java.lang.String> configs
Procedure and SubAppObject nodes. The keys are paths to an
element and the attributes are the path, followed by the '#' char and the attribute name.private java.util.List<SoapOperation> operations
private SoapWsdl wsdl
public void putConfigs(java.util.Map<java.lang.String,java.lang.String> configs)
configs.configs - The configuration mappings.public void putConfig(java.lang.String key,
java.lang.String val)
configs.key - The configuration key.val - The configuration value.public void addOperations(java.util.List<SoapOperation> ops)
operations list.ops - The list of operations.public void addOperation(SoapOperation op)
operations list.op - The operation.public java.util.List<SoapOperation> getSoapOperation(java.lang.String file, java.lang.String program, java.lang.String internalEntry)
file - The file name.program - The program or class name.internalEntry - The internal entry or method name. May be null.public java.lang.String getConfig(java.lang.String key)
configs map.key - The configuration key.public void generateWsdl(java.lang.String path)
path - The path where to save the WSDL document.public void checkOperations()