com.raritantechnologies.webServices
Class StringFilterWebServiceMapper

java.lang.Object
  extended bycom.raritantechnologies.webServices.WebServiceMapper
      extended bycom.raritantechnologies.webServices.StringFilterWebServiceMapper
All Implemented Interfaces:
IConfigurable

public class StringFilterWebServiceMapper
extends WebServiceMapper

Uses an IStringFilter to execute a WebServices request by filtering the incoming XML.

XML Configuration Template:
   <WebServiceMap methodName="[ name of tag that maps to this Mapper ]"
                     mapperClass="com.raritantechnologies.webServices.StringFilterWebServiceMapper" >

     <StringFilter class="[ implementation of com.raritantechnologies.utils.filter.IStringFilter ]" >

     </StringFilter>

   </WebServiceMap>
 


Constructor Summary
StringFilterWebServiceMapper()
           
 
Method Summary
 void executeService(SOAPEnvelope req, SOAPEnvelope res)
          Executes a WebServices SOAP call by converting the SOAP request to XML and applying the IStringFIlter to the SOAP request, returning the resulting XML as the SOAP response.
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class com.raritantechnologies.webServices.WebServiceMapper
executeService, getCharacterEncoding, getRequestParam, setCharacterEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringFilterWebServiceMapper

public StringFilterWebServiceMapper()
Method Detail

executeService

public void executeService(SOAPEnvelope req,
                           SOAPEnvelope res)
Executes a WebServices SOAP call by converting the SOAP request to XML and applying the IStringFIlter to the SOAP request, returning the resulting XML as the SOAP response.

Specified by:
executeService in class WebServiceMapper

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable
Specified by:
initialize in class WebServiceMapper