com.raritantechnologies.webServices
Class WebServiceStringFilter
java.lang.Object
com.raritantechnologies.webServices.WebServiceStringFilter
- All Implemented Interfaces:
- IConfigurable, IStringFilter
- public class WebServiceStringFilter
- extends java.lang.Object
- implements IStringFilter
StringFilter that executes a Web Service using SOAPUtils given an XML SOAP Body. Returns an SOAP XML Response.
XML Configuration Template:
<StringFilter class="com.raritantechnologies.webServices.WebServiceStringFilter"
userName="[ user name if needed for login to web service ]"
password="[ web service user password ]"
targetURI="[ web service URI ]"
namespaceURI="[ namespace URI of SOAP request ]"
methodName="[ name of SOAP method to be executed ]"
xslTransform="[ file name of XSL Tranform to be applied to SOAP response ]" >
<!-- Zero or more SOAPResponseProcess tags: -->
<SOAPResponseProcess dataPath="[ XPath to the data value in the SOAP response ]"
outputTo="[ field that the data should be put in ]" />
</StringFilter>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
|
Method Summary |
java.lang.String |
filterString(java.util.Map parameters,
java.lang.String inputString)
|
java.lang.String |
filterString(java.lang.String inputString)
|
java.lang.String |
filterString(java.lang.String sessionID,
java.lang.String inputString)
|
java.lang.String |
getConfigurationXML()
|
java.lang.String |
getConfigurationXML(java.lang.String configurationTemplate)
|
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 |
WebServiceStringFilter
public WebServiceStringFilter()
filterString
public java.lang.String filterString(java.lang.String inputString)
- Specified by:
filterString in interface IStringFilter
filterString
public java.lang.String filterString(java.lang.String sessionID,
java.lang.String inputString)
- Specified by:
filterString in interface IStringFilter
filterString
public java.lang.String filterString(java.util.Map parameters,
java.lang.String inputString)
- Specified by:
filterString in interface IStringFilter
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
getConfigurationXML
public java.lang.String getConfigurationXML()
- Specified by:
getConfigurationXML in interface IStringFilter
getConfigurationXML
public java.lang.String getConfigurationXML(java.lang.String configurationTemplate)
- Specified by:
getConfigurationXML in interface IStringFilter