deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wass.wss.operation
Class DoService

java.lang.Object
  extended by org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      extended by org.deegree.ogcwebservices.wass.common.AbstractRequest
          extended by org.deegree.ogcwebservices.wass.wss.operation.DoService
All Implemented Interfaces:
java.io.Serializable, OGCWebServiceRequest

public class DoService
extends AbstractRequest

The DoService class represents (a bean) a DoService Operation which is send by a client (or other server) which is checked by the wss for the right credentials and than send to the requested serviceprovider. In the case that a client not has the right credentials a ServiceException is thrown. The Specification does mention the fact that ther might be another response for example: A client orders A and B but only has the credentials for A -> should we return A and not B or nothing at all. We do the last, the client gets nothing.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

Constructor Summary
DoService(java.lang.String id, java.util.Map<java.lang.String,java.lang.String> keyValues)
           
DoService(java.lang.String id, java.lang.String service, java.lang.String version, AuthenticationData authenticationData, java.lang.String dcp, java.util.ArrayList<RequestParameter> requestParameters, java.lang.String payload, java.net.URI facadeURL)
           
 
Method Summary
static OGCWebServiceRequest create(java.lang.String id, org.w3c.dom.Element documentElement)
           
static OGCWebServiceRequest create(java.lang.String id, java.util.Map<java.lang.String,java.lang.String> kvp)
           
 AuthenticationData getAuthenticationData()
           
 java.lang.String getDcp()
           
 java.net.URI getFacadeURL()
           
 java.lang.String getPayload()
           
 java.util.ArrayList<RequestParameter> getRequestParameters()
           
 
Methods inherited from class org.deegree.ogcwebservices.wass.common.AbstractRequest
getRequest, getServiceName
 
Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
getId, getParam, getParamAsInt, getParamValues, getRequestParameter, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoService

public DoService(java.lang.String id,
                 java.lang.String service,
                 java.lang.String version,
                 AuthenticationData authenticationData,
                 java.lang.String dcp,
                 java.util.ArrayList<RequestParameter> requestParameters,
                 java.lang.String payload,
                 java.net.URI facadeURL)
Parameters:
id - the request id
service -
version -
authenticationData -
dcp -
requestParameters -
payload -
facadeURL -

DoService

public DoService(java.lang.String id,
                 java.util.Map<java.lang.String,java.lang.String> keyValues)
Parameters:
id - the request id
keyValues -
Method Detail

getAuthenticationData

public AuthenticationData getAuthenticationData()
Returns:
Returns the authenticationData.

getDcp

public java.lang.String getDcp()
Returns:
Returns the dcp.

getFacadeURL

public java.net.URI getFacadeURL()
Returns:
Returns the facadeURL.

getPayload

public java.lang.String getPayload()
Returns:
Returns the payload.

getRequestParameters

public java.util.ArrayList<RequestParameter> getRequestParameters()
Returns:
Returns the requestParameters.

create

public static OGCWebServiceRequest create(java.lang.String id,
                                          org.w3c.dom.Element documentElement)
                                   throws OGCWebServiceException
Parameters:
id -
documentElement -
Returns:
a new instance of this class
Throws:
OGCWebServiceException

create

public static OGCWebServiceRequest create(java.lang.String id,
                                          java.util.Map<java.lang.String,java.lang.String> kvp)
Parameters:
id -
kvp -
Returns:
a new instance of this class

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org