public class SimpleInvoker extends Object implements Invoker
| Modifier and Type | Field and Description |
|---|---|
protected xsul.xwsif_runtime.WSIFClient |
client |
| Constructor and Description |
|---|
SimpleInvoker(xsul.wsdl.WsdlDefinitions definitions)
Constructs a SimpleInvoker.
|
| Modifier and Type | Method and Description |
|---|---|
xsul.xwsif_runtime.WSIFClient |
getClient() |
xsul.wsdl.WsdlDefinitions |
getDefinitions() |
xsul.wsif.WSIFMessage |
getFault()
Returns the fault message.
|
xsul.wsif.WSIFMessage |
getFaultMessage() |
xsul.wsif.WSIFMessage |
getInputMessage() |
xsul.wsif.WSIFMessage |
getInputs()
Returns the all input parameters
|
xsul.wsif.WSIFOperation |
getOperation() |
Object |
getOutput(String name)
Returns the output of a specified name.
|
xsul.wsif.WSIFMessage |
getOutputMessage() |
xsul.wsif.WSIFMessage |
getOutputs()
Returns the all output parameters
|
boolean |
invoke()
Invokes the service.
|
boolean |
isLock() |
void |
setInput(String name,
Object value)
Sets an input parameter
|
void |
setLock(boolean lock) |
void |
setOperation(String operationName)
Sets the operation name to invoke.
|
void |
setOutputMessage(xsul.wsif.WSIFMessage outputMessage) |
void |
setup()
Sets up the service.
|
public SimpleInvoker(xsul.wsdl.WsdlDefinitions definitions)
definitions - public void setup()
throws WorkflowException
Invokersetup in interface InvokerWorkflowExceptionInvoker.setup()public xsul.xwsif_runtime.WSIFClient getClient()
getClient in interface InvokerInvoker.getClient()public void setOperation(String operationName) throws WorkflowException
InvokersetOperation in interface InvokeroperationName - The name of the operationWorkflowExceptionInvoker.setOperation(java.lang.String)public void setInput(String name, Object value) throws WorkflowException
InvokersetInput in interface Invokername - The name of the input parametervalue - The value of the input parameterWorkflowExceptionInvoker.setInput(java.lang.String, java.lang.Object)public xsul.wsif.WSIFMessage getInputs()
InvokergetInputs in interface InvokerInvoker.getInputs()public boolean invoke()
throws WorkflowException
Invokerinvoke in interface InvokerWorkflowExceptionInvoker.invoke()public xsul.wsif.WSIFMessage getOutputs()
InvokergetOutputs in interface InvokerInvoker.getOutputs()public Object getOutput(String name) throws WorkflowException
InvokergetOutput in interface Invokername - The name of the output parameterWorkflowExceptionInvoker.getOutput(java.lang.String)public xsul.wsif.WSIFMessage getFault()
InvokergetFault in interface InvokerInvoker.getFault()public xsul.wsdl.WsdlDefinitions getDefinitions()
public xsul.wsif.WSIFOperation getOperation()
public xsul.wsif.WSIFMessage getInputMessage()
public xsul.wsif.WSIFMessage getOutputMessage()
public xsul.wsif.WSIFMessage getFaultMessage()
public void setOutputMessage(xsul.wsif.WSIFMessage outputMessage)
public void setLock(boolean lock)
public boolean isLock()
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.