|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationDescription
Common Interface of operations and event sources.
Method Summary | |
---|---|
ParameterValue |
createFaultValue(java.lang.String faultName)
This method creates a parameter value container
for the fault with the given unique faultName (within the
scope of this operation). |
ParameterValue |
createInputValue()
This is a shorthand method for creating a parameter
value container for this operation's input. |
ParameterValue |
createOutputValue()
This is a shorthand method for creating a parameter
value container for this operation's output. |
Fault |
getFault(java.lang.String faultName)
Returns this operation's fault with the given faultName ,
which is considered to be unique within the operation's scope. |
int |
getFaultCount()
Returns the number of declared faults for this operation. |
Iterator |
getFaults()
Returns an Iterator over all faults declared for this operation. |
Element |
getInput()
Returns the input element of this operation. |
java.lang.String |
getInputAction()
Returns the WS-Addressing [action] property for this operation's input message. |
java.lang.String |
getInputName()
/** Returns the name of the input of this operation. |
java.lang.String |
getName()
Returns the local name of this operation. |
Element |
getOutput()
Returns the output element of this operation. |
java.lang.String |
getOutputAction()
Returns the WS-Addressing [action] property for this oepration's output message. |
java.lang.String |
getOutputName()
Returns the name of the output of this operation. |
QName |
getPortType()
Returns the port type to which this operation belongs. |
Service |
getService()
Returns the service to which this operation is associated. |
int |
getType()
Returns the transmission type of this operation according to
WSDL 1.1 specification. |
Method Detail |
---|
java.lang.String getName()
note on overloading operations
.
int getType()
transmission type
of this operation according to
WSDL 1.1 specification. The value
returned is one of WSDLOperation.TYPE_ONE_WAY
,
WSDLOperation.TYPE_REQUEST_RESPONSE
,
WSDLOperation.TYPE_NOTIFICATION
and
WSDLOperation.TYPE_SOLICIT_RESPONSE
.
Element getInput()
create
a suitable
ParameterValue
container for the actual values when sending
messages to the operation.
java.lang.String getInputAction()
null
only if this operation's
transmission type
is
WSDLOperation.TYPE_NOTIFICATION
, i.e. the operation doesn't have
any input. Otherwise, if no input action was explicitly
set
, this method will
generate a default one according to the rules of WS-Addressing 1.0 - WSDL
Binding.
java.lang.String getInputName()
transmission type
is
WSDLOperation.TYPE_NOTIFICATION
, null
is returned.
Otherwise, if no input name was
set
previously, a default
input name is generated according to WSDL 1.1 Specification.
Element getOutput()
create
a suitable
ParameterValue
container for the actual values an operation
returns.
java.lang.String getOutputAction()
null
only if this operation's
transmission type
is
WSDLOperation.TYPE_ONE_WAY
, i.e. the operation doesn't have any
output. Otherwise, if no output action is explicitly
set
, this method will
generate a default one according to the rules of WS-Addressing 1.0 - WSDL
Binding.
java.lang.String getOutputName()
transmission type
is
WSDLOperation.TYPE_ONE_WAY
, null
is returned.
Otherwise, if no output name has been previously
set
, a default output name
is generated according to WSDL 1.1 Specification.
Fault getFault(java.lang.String faultName)
faultName
,
which is considered to be unique within the operation's scope.
faultName
- the requested fault's name
null
if there is no
fault with that name within this operationint getFaultCount()
Iterator getFaults()
Iterator
over all faults declared for this operation.
OperationCommons.addFault(Fault)
QName getPortType()
Service getService()
null
, if this operation has not yet been added to a
particular service.
ParameterValue createInputValue()
parameter
value
container for this operation's input. It is semantically
equivalent to ParameterValue.createElementValue(getInput());
.
ParameterValue.createElementValue(Element)
ParameterValue createOutputValue()
parameter
value
container for this operation's output. It is semantically
equivalent to
ParameterValue.createElementValue(getOutput());
.
getOutput()
,
ParameterValue.createElementValue(Element)
ParameterValue createFaultValue(java.lang.String faultName)
parameter value
container
for the fault with the given unique faultName
(within the
scope of this operation).
faultName
- the name of the fault to create a parameter container
for
java.util.NoSuchElementException
- if a fault with the given name is not
declared within this operationgetFault(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |