|
JBoss Wise API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface WSMethod
It Represents a webservice operation(action) invocation and it always refer to a specific endpoint.
Method Summary | |
---|---|
WSEndpoint |
getEndpoint()
|
java.util.Map<java.lang.String,? extends WebParameter> |
getWebParams()
Gets the map of WebParameter for the webserice method represented
by instance of this type |
InvocationResult |
invoke(java.lang.Object args)
Invokes this method with the provided arguments |
InvocationResult |
invoke(java.lang.Object args,
WiseMapper mapper)
Invokes this method with the provided arguments applying provided mapper |
boolean |
isOneWay()
|
Method Detail |
---|
InvocationResult invoke(java.lang.Object args, WiseMapper mapper) throws InvocationException, java.lang.IllegalArgumentException, MappingException
args
- the arguments to call operation. It could be a generic Object
to be passed to provided mapper. If mapper is null it works
exactly like invoke(Object)
mapper
- if null no mappings are applied method will be invoked using
args directly. in this case the keys of the map gotta be the
parameters names as defined in wsdl/wsconsume generated
classes
InvocationResult
object populated with returned
values (implementation will process both directed returned values
and OUT parameters as defined in wsdl)
InvocationException
java.lang.IllegalArgumentException
MappingException
InvocationResult invoke(java.lang.Object args) throws InvocationException, java.lang.IllegalArgumentException, MappingException
args
- the arguments to call operation. args must be a MapIllegalArgumentException
is thrown.
InvocationResult
object populated with returned
values (implementation will process both directed returned values
and OUT parameters as defined in wsdl)
InvocationException
java.lang.IllegalArgumentException
MappingException
java.util.Map<java.lang.String,? extends WebParameter> getWebParams()
WebParameter
for the webserice method represented
by instance of this type
boolean isOneWay()
WSEndpoint getEndpoint()
|
JBoss Wise API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |