@ThreadSafe
public interface WSMethod
| Modifier and Type | Field and Description |
|---|---|
static String |
RESULT |
static String |
RESULTS |
static String |
TYPE_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
WSEndpoint |
getEndpoint() |
Map<String,? extends WebParameter> |
getWebParams()
Gets the map of
WebParameter for the webserice method represented
by instance of this type |
InvocationResult |
invoke(Object args)
Invokes this method with the provided arguments
|
InvocationResult |
invoke(Object args,
WiseMapper mapper)
Invokes this method with the provided arguments applying provided mapper
|
boolean |
isOneWay() |
void |
writeRequestPreview(Map<String,Object> args,
OutputStream os)
Generates and writes a preview of the request message for invoking this
method with the provided arguments.
|
static final String RESULT
static final String RESULTS
static final String TYPE_PREFIX
InvocationResult invoke(Object args, WiseMapper mapper) throws InvocationException, 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
classesInvocationResult object populated with returned
values (implementation will process both directed returned values
and OUT parameters as defined in wsdl)InvocationExceptionIllegalArgumentExceptionMappingExceptionInvocationResult invoke(Object args) throws InvocationException, 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)InvocationExceptionIllegalArgumentExceptionMappingExceptionvoid writeRequestPreview(Map<String,Object> args, OutputStream os) throws InvocationException
args - os - InvocationExceptionMap<String,? extends WebParameter> getWebParams()
WebParameter for the webserice method represented
by instance of this typeboolean isOneWay()
WSEndpoint getEndpoint()
Copyright © 2008–2013 JBoss.org. All rights reserved.