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
IllegalArgumentException
public void writeRequestPreview(Map<String,Object> args, OutputStream os) throws InvocationException
WSMethod
writeRequestPreview
in interface WSMethod
InvocationException
public InvocationResultImpl invoke(Object args, WiseMapper mapper) throws InvocationException, IllegalArgumentException, MappingException
invoke
in interface WSMethod
args
- 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
classesInvocationResultImpl
InvocationException
IllegalArgumentException
MappingException
public InvocationResult invoke(Object args) throws InvocationException, IllegalArgumentException, MappingException
invoke
in interface WSMethod
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
IllegalArgumentException
MappingException
WSMethod.invoke(java.lang.Object)
public Map<String,WebParameterImpl> getWebParams()
getWebParams
in interface WSMethod
public boolean isOneWay()
public Method getMethod()
public WSEndpoint getEndpoint()
getEndpoint
in interface WSMethod
Copyright © 2008–2014 JBoss.org. All rights reserved.