RESULT, RESULTS, TYPE_PREFIX| Constructor and Description |
|---|
WSMethodImpl(Method method,
WSEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
WSEndpoint |
getEndpoint() |
Method |
getMethod() |
Map<String,WebParameterImpl> |
getWebParams()
Gets the map of WebParameters for a selected method
|
InvocationResult |
invoke(Object args)
Invokes this method with the provided arguments
|
InvocationResultImpl |
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.
|
public WSMethodImpl(Method method, WSEndpoint endpoint) throws IllegalArgumentException
IllegalArgumentExceptionpublic void writeRequestPreview(Map<String,Object> args, OutputStream os) throws InvocationException
WSMethodwriteRequestPreview in interface WSMethodInvocationExceptionpublic InvocationResultImpl invoke(Object args, WiseMapper mapper) throws InvocationException, IllegalArgumentException, MappingException
invoke in interface WSMethodargs - 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
classesInvocationResultImplInvocationExceptionIllegalArgumentExceptionMappingExceptionpublic InvocationResult invoke(Object args) throws InvocationException, IllegalArgumentException, MappingException
invoke in interface WSMethodargs - 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)InvocationExceptionIllegalArgumentExceptionMappingExceptionWSMethod.invoke(java.lang.Object)public Map<String,WebParameterImpl> getWebParams()
getWebParams in interface WSMethodpublic boolean isOneWay()
public Method getMethod()
public WSEndpoint getEndpoint()
getEndpoint in interface WSMethodCopyright © 2008–2013 JBoss.org. All rights reserved.