com.raritantechnologies.webServices
Class StandardInputMapper
java.lang.Object
com.raritantechnologies.webServices.StandardInputMapper
- All Implemented Interfaces:
- IWebServiceInputMapper
- Direct Known Subclasses:
- SevInputMapper, SimpleInputMapper
- public class StandardInputMapper
- extends java.lang.Object
- implements IWebServiceInputMapper
Maps a SOAP request to a RTI search source, query and paging parameters.
Handles the standard RTI Web Service request format:
<SearchRequest>
<Sources>[ list of SearchSource names ]</Sources>
<StartRec>[ starting record number ]</StartRec>
<PageSize>[ page size of returned results ]</PageSize>
<Fields>
<DataField>
<Name>[ name of field ]</Name>
<Value>[ value of field ]</Value>
</DataField>
<DataField>
<Name>[ name of field ]</Name>
<Value>[ value of field ]</Value>
</DataField>
</Fields>
</SearchRequest>
XML Configuration Template:
<InputMap inputMapperClass="com.raritantechnologies.webServices.StandardInputMapper"
sessionIDPath="[ optional (i.e. non-standard) path in SOAP request to get session ID ]"
requestSourcesPath="[ optional (i.e. non-standard) path to get request search sources ]"
requestFieldsPath="[ optional (i.e. non-standard) path to get request fields ]"
fieldNameTag="[ optional (i.e. non-standard) name of tag that has field name ]"
fieldValueTag="[ optional (i.e. non-standard) name of tag that has field value ]"
startRecPath="[ optional (i.e. non-standard) path to get start record number ]"
pageSizePath="[ optional (i.e. non-standard) path to get page size ]" />
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 |
StandardInputMapper
public StandardInputMapper()
initialize
public void initialize(org.w3c.dom.Element inputMapElem)
- Specified by:
initialize in interface IWebServiceInputMapper
getSourceLoginInfo
public SourceLoginInfo[] getSourceLoginInfo(SOAPEnvelope soapRequest)
- Creates ILoginInfo from the soapRequest, do security checks with SecurityManager.
- Specified by:
getSourceLoginInfo in interface IWebServiceInputMapper
convertSOAPRequest
public OrderedMap convertSOAPRequest(SOAPEnvelope soapRequest)
- Specified by:
convertSOAPRequest in interface IWebServiceInputMapper
getStartRec
public java.lang.Integer getStartRec(SOAPEnvelope soapRequest)
- Specified by:
getStartRec in interface IWebServiceInputMapper
getPageSize
public java.lang.Integer getPageSize(SOAPEnvelope soapRequest)
- Specified by:
getPageSize in interface IWebServiceInputMapper
getSessionID
public java.lang.String getSessionID(SOAPEnvelope soapRequest)
- Specified by:
getSessionID in interface IWebServiceInputMapper