javax.wsdl
Interface Operation
- java.io.Serializable, AttributeExtensible, ElementExtensible, WSDLElement
- OperationImpl
public interface Operation
This interface represents a WSDL operation.
It includes information on input, output and fault
messages associated with usage of the operation.
- Paul Fremantle (pzf@us.ibm.com)
- Nirmal Mukhi (nmukhi@us.ibm.com)
- Matthew J. Duftler (duftler@us.ibm.com)
void | addFault(Fault fault) - Add a fault message that must be associated with this
operation.
|
Fault | getFault(String name) - Get the specified fault message.
|
Map | getFaults() - Get all the fault messages associated with this operation.
|
Input | getInput() - Get the input message specification for this operation.
|
String | getName() - Get the name of this operation.
|
Output | getOutput() - Get the output message specification for this operation.
|
List | getParameterOrdering() - Get the parameter ordering for this operation.
|
OperationType | getStyle() - Get the operation type.
|
boolean | isUndefined()
|
Fault | removeFault(String name) - Remove the specified fault message.
|
void | setInput(Input input) - Set the input message specification for this operation.
|
void | setName(String name) - Set the name of this operation.
|
void | setOutput(Output output) - Set the output message specification for this operation.
|
void | setParameterOrdering(List parameterOrder) - Set the parameter ordering for a request-response,
or solicit-response operation.
|
void | setStyle(OperationType style) - Set the style for this operation (request-response,
one way, solicit-response or notification).
|
void | setUndefined(boolean isUndefined)
|
addFault
public void addFault(Fault fault)
Add a fault message that must be associated with this
operation.
fault
- the new fault message
getFault
public Fault getFault(String name)
Get the specified fault message.
name
- the name of the desired fault message.
- the corresponding fault message, or null if there wasn't
any matching message
getFaults
public Map getFaults()
Get all the fault messages associated with this operation.
getInput
public Input getInput()
Get the input message specification for this operation.
getName
public String getName()
Get the name of this operation.
getOutput
public Output getOutput()
Get the output message specification for this operation.
- the output message specification for the operation
getParameterOrdering
public List getParameterOrdering()
Get the parameter ordering for this operation.
- the parameter ordering, a list consisting
of message part names
isUndefined
public boolean isUndefined()
removeFault
public Fault removeFault(String name)
Remove the specified fault message.
name
- the name of the fault message to be removed.
- the fault message which was removed
setInput
public void setInput(Input input)
Set the input message specification for this operation.
input
- the new input message
setName
public void setName(String name)
Set the name of this operation.
setOutput
public void setOutput(Output output)
Set the output message specification for this operation.
output
- the new output message
setParameterOrdering
public void setParameterOrdering(List parameterOrder)
Set the parameter ordering for a request-response,
or solicit-response operation.
parameterOrder
- a list of named parameters
containing the part names to reflect the desired
order of parameters for RPC-style operations
setStyle
public void setStyle(OperationType style)
Set the style for this operation (request-response,
one way, solicit-response or notification).
style
- the new operation style
setUndefined
public void setUndefined(boolean isUndefined)
Copyright B) 2003,2006 IBM. All Rights Reserved.