flux
Interface WebServiceTrigger

All Superinterfaces:
flux.Action, Cloneable, flux.runtimedatamap.RuntimeDataMap, Serializable, flux.Trigger

public interface WebServiceTrigger
extends flux.Trigger

WebServiceTrigger that waits for a SOAP or HTTP request and starts a workflow. These requests can be sent from any downstream systems. For example, in a loan originations system, when a loan is accepted, the sales frontend can send a request to a decision workflow that performs credit checks for the customer.

The web service exposes both SOAP and REST endpoints.

The SOAP WSDL is accessible at http://localhost:port/soap/SERVICE_NAME?wsdl

The REST WADL is accessible at http://localhost:port/rest/SERVICE_NAME?_wadl&_type=xml

Author:
arul@fluxcorp.com

Nested Class Summary
static class WebServiceTrigger.WebServiceTriggerResult
          The response from the WebServiceTrigger.
 
Method Summary
 void setEnginePassword(String enginePassword)
          Sets the password used to login to a remote Flux engine to perform secured operations.
 void setEngineUsername(String engineUsername)
          Sets the username used to login to a remote Flux engine to perform secured operations.
 void setPassword(String password)
          Sets the password used to secure the web service.
 void setPort(int port)
          Sets the port the web service listens to.
 void setServiceName(String serviceName)
          Sets the service name.
 void setUsername(String username)
          Sets the username used to secure the web service.
 
Methods inherited from interface flux.Action
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 

Method Detail

setEnginePassword

void setEnginePassword(String enginePassword)
Sets the password used to login to a remote Flux engine to perform secured operations.

Parameters:
enginePassword - The password used to login to a remote Flux engine to perform secured operations.

setEngineUsername

void setEngineUsername(String engineUsername)
Sets the username used to login to a remote Flux engine to perform secured operations.

Parameters:
engineUsername - The username used to login to a remote Flux engine to perform secured operations.

setPassword

void setPassword(String password)
Sets the password used to secure the web service.

Parameters:
password - The password used to secure the web service.

setPort

void setPort(int port)
Sets the port the web service listens to.

Parameters:
port - Port the web service listens to.

setServiceName

void setServiceName(String serviceName)
Sets the service name. Any spaces would get removed as this name forms part of the URI.

Parameters:
serviceName - The name of the service.

setUsername

void setUsername(String username)
Sets the username used to secure the web service.

Parameters:
username - The username used to secure the web service.


© 2000-2011 Flux Corporation. All rights reserved.