Interface Operation
- All Superinterfaces:
AttributeExtensible, ElementExtensible, Serializable, WSDLElement
- All Known Implementing Classes:
OperationImpl
This interface represents a WSDL operation.
It includes information on input, output and fault
messages associated with usage of the operation.
- Author:
- Paul Fremantle (pzf@us.ibm.com), Nirmal Mukhi (nmukhi@us.ibm.com), Matthew J. Duftler (duftler@us.ibm.com)
-
Field Summary
Fields inherited from interface AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a fault message that must be associated with this operation.Get the specified fault message.Get all the fault messages associated with this operation.getInput()Get the input message specification for this operation.getName()Get the name of this operation.Get the output message specification for this operation.Get the parameter ordering for this operation.getStyle()Get the operation type.booleanremoveFault(String name) Remove the specified fault message.voidSet the input message specification for this operation.voidSet the name of this operation.voidSet the output message specification for this operation.voidsetParameterOrdering(List parameterOrder) Set the parameter ordering for a request-response, or solicit-response operation.voidsetStyle(OperationType style) Set the style for this operation (request-response, one way, solicit-response or notification).voidsetUndefined(boolean isUndefined) Methods inherited from interface AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttributeMethods inherited from interface ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElementMethods inherited from interface WSDLElement
getDocumentationElement, setDocumentationElement
-
Method Details
-
setName
-
getName
-
setInput
Set the input message specification for this operation.- Parameters:
input- the new input message
-
getInput
-
setOutput
Set the output message specification for this operation.- Parameters:
output- the new output message
-
getOutput
Output getOutput()Get the output message specification for this operation.- Returns:
- the output message specification for the operation
-
addFault
Add a fault message that must be associated with this operation.- Parameters:
fault- the new fault message
-
getFault
-
removeFault
-
getFaults
Map getFaults()Get all the fault messages associated with this operation.- Returns:
- names of fault messages
-
setStyle
Set the style for this operation (request-response, one way, solicit-response or notification).- Parameters:
style- the new operation style
-
getStyle
-
setParameterOrdering
Set the parameter ordering for a request-response, or solicit-response operation.- Parameters:
parameterOrder- a list of named parameters containing the part names to reflect the desired order of parameters for RPC-style operations
-
getParameterOrdering
List getParameterOrdering()Get the parameter ordering for this operation.- Returns:
- the parameter ordering, a list consisting of message part names
-
setUndefined
void setUndefined(boolean isUndefined) -
isUndefined
boolean isUndefined()
-