public class SOAPProvider extends java.lang.Object implements WSProvider
 The SOAPProvider allows the Data Control to invoke Webservices defined
 for SOAP bindings. The provider abstracts out the invocation
 protocol details at the Data Control level.
 
The SOAPProvider is intialized from the metadata configuration. The Provider intializes all the necessary classes to convert the operaton invocation requests to SOAP payload and return the response payload as an iterator of maps. For the Data control, the underlying classes used by the provider are not visible, neither is the data control aware of the existance of these instances. All operation invocations by the data control happen via the provider.
 The provider is also repsonsible for processing the SOAP
 messages for security. The Data control registers the security
 implmentation via a standard interface DCSecurity. The SOAPProvider
 uses the registered implementation to enable SOAP message
 level security.
 
SOAPOperation, 
DCSecurityPROVIDER_CONNECTION, PROVIDER_DCDEF, PROVIDER_OPERATIONS, PROVIDER_SEC_MODEL, PROVIDER_SERVICE| Constructor and Description | 
|---|
| SOAPProvider()Create the instance of this SOAPProvider | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | execute(java.lang.String operationName,
       java.util.Map params)Invoke the service operation
 Create the request payload against the endpoint URL. | 
| javax.xml.soap.SOAPMessage | getRequest()Get the SOAP request message for the previous webservice call 
 invoked. | 
| javax.xml.soap.SOAPMessage | getResponse()Get the SOAP response message for the previous webservice call 
 invoked. | 
| protected void | handleFault(javax.xml.soap.SOAPFault fault)Handle the SOAP fault if the repsonse generated one. | 
| protected java.util.Map<java.lang.String,java.util.List> | handleHttpHeaders(java.util.Map httpHeaders)The method creates an instance of Map<String,List> by 
 merging the contents of httpHeaders passed by method. | 
| protected void | handleRequest(javax.xml.soap.SOAPMessage mRequest)Override this method for custom 
 manipulation of the SOAPRequest. | 
| protected void | handleResponse(javax.xml.soap.SOAPMessage mResponse)Override this method for custom processing
 the SOAPResponse obtained. | 
| void | init(java.util.Map environment)Initialize the Provider with the DC environment. | 
| void | setSecurityModel(SecurityModel security)Set the Security Model for this provider. | 
public void init(java.util.Map environment)
init in interface WSProviderenvironment - The Parameters needed by this provider to 
                    make a successful invocation of the DC operation.public java.lang.Object execute(java.lang.String operationName,
                       java.util.Map params)
                         throws AdapterException
execute in interface WSProvideroperationName - The name of the operation to be invoked.params - The parameters for this operation invocation.{@link - AdapterException} if the invocation fails.AdapterExceptionpublic javax.xml.soap.SOAPMessage getRequest()
public javax.xml.soap.SOAPMessage getResponse()
public void setSecurityModel(SecurityModel security)
WSProvidersetSecurityModel in interface WSProvidersecurity - The security model for this provider.protected void handleRequest(javax.xml.soap.SOAPMessage mRequest)
                      throws AdapterException
mRequest - Reference to the SOAPRequestAdapterExceptionprotected void handleResponse(javax.xml.soap.SOAPMessage mResponse)
                       throws AdapterException
mResponse - Reference to the SOAPResponseAdapterExceptionprotected void handleFault(javax.xml.soap.SOAPFault fault)
                    throws AdapterException
fault - The SOAP fault generated by the response.AdapterExceptionprotected java.util.Map<java.lang.String,java.util.List> handleHttpHeaders(java.util.Map httpHeaders)