com.raritantechnologies.webServices
Class WebServiceMapper
java.lang.Object
com.raritantechnologies.webServices.WebServiceMapper
- All Implemented Interfaces:
- IConfigurable
- Direct Known Subclasses:
- BasicSearchMapper, ClassifierWebService, ContentHandlerMapper, CustomRequestMapper, GetSourcesMapper, LoginMapper, LogoutMapper, QueryTranslatorWebServiceMapper, RecommendWebServiceMapper, RegistrationServiceMapper, ResultFormatterServiceMapper, SchedulerWebServiceMapper, SecurityManagerWebServiceMapper, StringFilterWebServiceMapper, TermExtractorWebServiceMapper
- public abstract class WebServiceMapper
- extends java.lang.Object
- implements IConfigurable
Abstract base class for objects that convert a web service request to execution of a
query by a Raritan Technologies IQueryProcessor.
XML Configuration Template:
<WebServiceMap methodNames="[ name(s) of WebService method(s) handled by this mapper ]"
mapperClass="[ subclass of com.raritantechnologies.webServices.WebServiceMapper ]"
charSet="[ character encoding to use for SOAP Response ]" >
</WebServiceMap>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceMapper
public WebServiceMapper()
setCharacterEncoding
public void setCharacterEncoding(java.lang.String charSet)
getCharacterEncoding
public java.lang.String getCharacterEncoding()
executeService
public void executeService(MessageContext msgContext)
throws AxisFault
- Throws:
AxisFault
executeService
public abstract void executeService(SOAPEnvelope req,
SOAPEnvelope res)
initialize
public abstract 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
getRequestParam
public static java.lang.String getRequestParam(java.lang.String xPath,
SOAPEnvelope soapRequest)