org.backsource.amsterdam.plugins.axis
Class AxisHandler
java.lang.Object
org.backsource.amsterdam.service.HandlerSupport
org.backsource.amsterdam.service.filter.ServiceFilterSupport
org.backsource.amsterdam.plugins.HandlerBase
org.backsource.amsterdam.plugins.XMLHandlerBase
org.backsource.amsterdam.plugins.axis.AxisHandler
- All Implemented Interfaces:
- org.backsource.amsterdam.service.Handler, org.backsource.amsterdam.service.HandlerSupportMBean, org.backsource.amsterdam.service.publisher.Publisher, org.backsource.amsterdam.service.Servable, org.backsource.amsterdam.service.filter.ServiceFilter, org.backsource.amsterdam.service.filter.ServiceFilterSupportMBean, org.backsource.amsterdam.metadata.XmlConfigurable
- public class AxisHandler
- extends XMLHandlerBase
- implements org.backsource.amsterdam.service.publisher.Publisher, org.backsource.amsterdam.metadata.XmlConfigurable
Filter and Publisher that publishes a Document to the webservice specifyed in url.
It takes several arguments, a publisher may be confugured like this:
<publisher
className="org.backsource.amsterdam.plugins.axis.AxisHandler">
<ws-url>http://localhost:8080/axis-demo/services/DeliverDocument</ws-url>
<ns>http://localhost:8080/axis-demo</ns>
<method>handleDocument</method>
<user>vv</user>
<password>vv</password>
</publisher>
method is optional and defaults to handleDocument. user and password is also optional.
- Version:
- $Revision: 1.1 $
- Author:
- Peter Antman
| Fields inherited from class org.backsource.amsterdam.service.HandlerSupport |
name, objectName, service, useBean |
|
Method Summary |
org.w3c.dom.Document |
handleMessage(org.backsource.amsterdam.service.ServiceMessage message,
org.w3c.dom.Document doc)
Publish document to webservice |
void |
importXml(org.w3c.dom.Element element)
Configure the baseclass with its optional properties, see classdoc for the params to use. |
| Methods inherited from class org.backsource.amsterdam.plugins.XMLHandlerBase |
getConfiguredResolver, getDocument, getDocument, getDOMCachedStream, getLocationString, getReason, getReason, getResolver, handleMessage, setDocument, setDocument |
| Methods inherited from class org.backsource.amsterdam.service.filter.ServiceFilterSupport |
getFilterName, getFilterObjectName, getNext, getObjectNameProperty, setFilterName, setFilterObjectName, setNext |
| Methods inherited from class org.backsource.amsterdam.service.HandlerSupport |
constructObjectName, destroy, getName, getObjectName, getService, init, isUseBean, setName, setObjectName, setService, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.backsource.amsterdam.service.Handler |
getName, getObjectName, getService, handleMessage, isUseBean, setService |
| Methods inherited from interface org.backsource.amsterdam.service.Servable |
destroy, init, start, stop |
| Methods inherited from interface org.backsource.amsterdam.service.HandlerSupportMBean |
getName, getObjectName, isUseBean |
AxisHandler
public AxisHandler()
importXml
public void importXml(org.w3c.dom.Element element)
throws org.backsource.amsterdam.deployment.DeploymentException
- Description copied from class:
HandlerBase
- Configure the baseclass with its optional properties, see classdoc for the params to use.
- Specified by:
importXml in interface org.backsource.amsterdam.metadata.XmlConfigurable- Overrides:
importXml in class XMLHandlerBase
- Throws:
org.backsource.amsterdam.deployment.DeploymentException
handleMessage
public org.w3c.dom.Document handleMessage(org.backsource.amsterdam.service.ServiceMessage message,
org.w3c.dom.Document doc)
throws org.backsource.amsterdam.service.ServiceException
- Publish document to webservice
- Specified by:
handleMessage in class XMLHandlerBase
- Throws:
org.backsource.amsterdam.service.ServiceException
Copyright © 2003-2004 Backsource. All Rights Reserved.