com.raritantechnologies.webServices
Class BasicSearchMapper

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

public class BasicSearchMapper
extends WebServiceMapper

Executes a WebService request by performing a Search using the RTI framework.

XML Configuration Template:
   <WebServiceMap methodName="SearchRequest"
                     mapperClass="com.raritantechnologies.webServices.BasicSearchMapper"
                     configurationErrorMessage="[ optional failure message for configuration errors ]"
                     queryProcessorFailureMessage="[ optional failure message for QueryProcessor failure ]"
                     codeFailureMessage="[ optional failure message for general code failure ]"
                     cacheQueryParams="[ true|false(default) ]" >

     <InputMap inputMapperClass="[ implementation of com.raritantechnologies.webServices.IWebServiceInputMapper ]" >

     </InputMap>

     <OutputMap outputMapperClass="[ implementation of com.raritantechnologies.webServices.IWebServiceOutputMapper ]" >

     </OutputMap>

   </WebServiceMap>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Field Summary
protected  IWebServiceInputMapper wsInputMapper
           
protected  IWebServiceOutputMapper wsOutputMapper
           
 
Constructor Summary
BasicSearchMapper()
           
 
Method Summary
 void executeService(SOAPEnvelope soapReq, SOAPEnvelope soapResp)
           
 void initialize(org.w3c.dom.Element webServiceElem)
          Initializes the object from an XML tag or element.
 void setWebServiceInputMapper(IWebServiceInputMapper wsInputMapper)
           
 void setWebServiceOutputMapper(IWebServiceOutputMapper wsOutputMapper)
           
 
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
 

Field Detail

wsInputMapper

protected IWebServiceInputMapper wsInputMapper

wsOutputMapper

protected IWebServiceOutputMapper wsOutputMapper
Constructor Detail

BasicSearchMapper

public BasicSearchMapper()
Method Detail

executeService

public void executeService(SOAPEnvelope soapReq,
                           SOAPEnvelope soapResp)
Specified by:
executeService in class WebServiceMapper

initialize

public void initialize(org.w3c.dom.Element webServiceElem)
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

setWebServiceInputMapper

public void setWebServiceInputMapper(IWebServiceInputMapper wsInputMapper)

setWebServiceOutputMapper

public void setWebServiceOutputMapper(IWebServiceOutputMapper wsOutputMapper)