public interface WSProvider
Specific providers will need to implement this interface to provide the underlying framework for the webservice invocation. The Data control can invoke a service operation only via the provider interface. This keeps the Adapter framework flexible to use any underlying provider and not bind the adapter to any specific invocation protocol.
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
PROVIDER_CONNECTION
The Actual physical connection for this provider to invoke the
 service operations. 
 | 
static java.lang.String | 
PROVIDER_DCDEF
The data control definition for the data control owning this provider
 By knowing the data control definition and the structure of the 
 operation return nodes & parameter nodes, the provider and organize
 and process the data appopriately and optimally 
 | 
static java.lang.String | 
PROVIDER_OPERATIONS
The Operations that the provider can invoke on the service endpoint. 
 | 
static java.lang.String | 
PROVIDER_SEC_MODEL  | 
static java.lang.String | 
PROVIDER_SERVICE
The Service attribute that defines the name of the service this 
 provider is capable of servicing, i.e the service against which this 
 provider implementation can invoke operations. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
execute(java.lang.String operationName,
       java.util.Map params)
Execute a Webservice operation. 
 | 
void | 
init(java.util.Map environment)
Initialize the provider with the necessary environment to enable 
 the provider to execute the service operation. 
 | 
void | 
setSecurityModel(SecurityModel security)
Set the Security Model for this provider. 
 | 
static final java.lang.String PROVIDER_CONNECTION
static final java.lang.String PROVIDER_OPERATIONS
static final java.lang.String PROVIDER_SERVICE
static final java.lang.String PROVIDER_DCDEF
static final java.lang.String PROVIDER_SEC_MODEL
void init(java.util.Map environment)
environment - The necessary set of parameters to intialize this 
                    provider instance to make a successful service 
                    operation invocation.java.lang.Object execute(java.lang.String operationName,
                       java.util.Map params)
                         throws AdapterException
operation - The service  operation to be invokedparams - Parameters to the service operation.{@link - AdapterException} If the operation invocation 
         fails. It is upto the provider to define what would 
         translate to an invocation failure.AdapterExceptionvoid setSecurityModel(SecurityModel security)
security - The security model for this provider.