Methods Summary |
---|
public void | add(java.lang.String operation, javax.xml.namespace.QName[] names, javax.xml.rpc.ParameterMode[] modes, java.lang.String inputNamespace, java.lang.String outputNamespace, java.lang.String soapAction)Add operation name and vector containing return and parameter names.
The first name in the array is either the return name (which
should be set to null if there is no return name)
table.put(operation,
new MetaInfo(names, modes, inputNamespace, outputNamespace,
soapAction));
|
public void | add(java.lang.String operation, java.lang.String[] names, javax.xml.rpc.ParameterMode[] modes, java.lang.String inputNamespace, java.lang.String outputNamespace, java.lang.String soapAction)Convenience method which allows passing an array of Strings which
will be converted into QNames with no namespace.
QName[] qnames = new QName[names.length];
for (int i = 0; i < names.length; i++) {
QName qname = new QName(null, names[i]);
qnames[i] = qname;
}
add(operation, qnames, modes, inputNamespace, outputNamespace,
soapAction);
|
public java.lang.String | getInputNamespace(java.lang.String operationName)Used to return the namespace of the input clause of the given
operation. Returns null if problems occur.
MetaInfo value = (MetaInfo) table.get(operationName);
if (value == null) {
return null;
}
return value.inputNamespace;
|
public java.lang.String | getOutputNamespace(java.lang.String operationName)Used to return the namespace of the output clause of the given
operation. Returns null if problems occur.
MetaInfo value = (MetaInfo) table.get(operationName);
if (value == null) {
return null;
}
return value.outputNamespace;
|
public javax.xml.rpc.ParameterMode | getParameterMode(java.lang.String operationName, int n)Used to return the mode of the n-th parameter of the specified
operation. Use -1 to get the return mode.
Returns null if problems occur or the parameter is not known.
MetaInfo value = (MetaInfo) table.get(operationName);
if ((value == null) || (value.modes == null)
|| (value.modes.length <= n + 1)) {
return null;
}
return value.modes[n + 1];
|
public javax.xml.namespace.QName | getParameterName(java.lang.String operationName, int n)Used to return the name of the n-th parameter of the specified
operation. Use -1 to get the return type name
Returns null if problems occur or the parameter is not known.
MetaInfo value = (MetaInfo) table.get(operationName);
if ((value == null) || (value.names == null)
|| (value.names.length <= n + 1)) {
return null;
}
return value.names[n + 1];
|
public java.lang.String | getSOAPAction(java.lang.String operationName)Used to return the SOAPAction of the given operation.
Returns null if problems occur.
MetaInfo value = (MetaInfo) table.get(operationName);
if (value == null) {
return null;
}
return value.soapAction;
|