|
|||||||||
| 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,
WiseMapper mapper)
Invokes this method with the provided arguments applying provided mapper |
boolean |
isOneWay()
|
void |
setEndpoint(WSEndpoint endpoint)
|
| 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 args must be a MapIllegalArgumentException is thrown.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
MappingExceptionjava.util.Map<java.lang.String,? extends WebParameter> getWebParams()
WebParameter for the webserice method represented by instance of this type
boolean isOneWay()
WSEndpoint getEndpoint()
void setEndpoint(WSEndpoint endpoint)
endpoint - set the endpoint on which this method is attached.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||