com.raritantechnologies.webServices
Class TermExtractorWebServiceMapper
java.lang.Object
com.raritantechnologies.webServices.WebServiceMapper
com.raritantechnologies.webServices.TermExtractorWebServiceMapper
- All Implemented Interfaces:
- IConfigurable
- public class TermExtractorWebServiceMapper
- extends WebServiceMapper
Uses an ITermExtractor to execute a WebServices request
by extracting Terms from an incoming SOAP message.
XML Configuration Template:
<WebServiceMap methodName="[ name of tag that maps to this Mapper ]"
mapperClass="com.raritantechnologies.webServices.TermExtractorWebServiceMapper" >
<TermExtractor class="[ implementation of com.raritantechnologies.utils.tagging.ITermExtractor ]" >
</TermExtractor>
</WebServiceMap>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
|
Method Summary |
void |
executeService(SOAPEnvelope req,
SOAPEnvelope res)
Executes a WebServices SOAP call by converting the SOAP request to XML and applying the
ITermExtractor to the SOAP request, returning the set of extracted terms in the SOAP response. |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermExtractorWebServiceMapper
public TermExtractorWebServiceMapper()
executeService
public void executeService(SOAPEnvelope req,
SOAPEnvelope res)
- Executes a WebServices SOAP call by converting the SOAP request to XML and applying the
ITermExtractor to the SOAP request, returning the set of extracted terms in 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