| java.lang.Object de.latlon.adv.CSWSOAPHandler
CSWSOAPHandler | public class CSWSOAPHandler (Code) | | The CSWSOAPFilter class parses an incoming soap - (post)request which (if the root element is bound to
the soap name space "http://www.w3.org/2003/05/soap-envelope") will copy the csw:Operation inside the envelope. Sets
the user name and passwords inside the root element of the csw:reqquest and sends it to the chain.
author: Rutger Bezema author: last edited by: $Author: bezema $ version: $Revision: 1.4 $, $Date: 2007-06-21 13:53:49 $ |
Constructor Summary | |
public | CSWSOAPHandler() Create an empty CSWSoapHandler with username set to anonymous and password to "". | public | CSWSOAPHandler(XMLFragment incomingRequest) Simple constructor buffering the request. |
CSWSOAPHandler | public CSWSOAPHandler()(Code) | | Create an empty CSWSoapHandler with username set to anonymous and password to "". No xml-data is set.
|
CSWSOAPHandler | public CSWSOAPHandler(XMLFragment incomingRequest)(Code) | | Simple constructor buffering the request.
Parameters: incomingRequest - |
createCSWRequestFromSOAP | public XMLFragment createCSWRequestFromSOAP() throws OGCWebServiceException(Code) | | Finds a user and a password from a given soap request, and inserts them as attributes into the rootelement of the
csw:request inside the body of the soap. This request is returned.
Parameters: rootElement - containing the soap request, with soap:header and a soap:body. the XMLTree inside the soap:body or null if the element has no localname of Envelope, orthe data (aka as doc) was not set. throws: OGCWebServiceException - if some required elements are not set. |
isSOAPRequest | public boolean isSOAPRequest()(Code) | | true if the namespace of the root element is 'http://www.w3.org/2003/05/soap-envelope' false otherwise. |
setIncomingRequest | public void setIncomingRequest(XMLFragment doc)(Code) | | Parameters: doc - sets the incomingRequest to doc. |
|
|