public interface WSSAccessor
| Modifier and Type | Field and Description |
|---|---|
static String |
DCP_HTTP_GET
DCP Method: GET
|
static String |
DCP_HTTP_POST
DCP Method: POST
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession()
Closes the WSS session.
|
Payload |
doService(String dcp_type,
String serviceRequest,
org.apache.commons.httpclient.NameValuePair[] requestParams,
String facadeURL)
Performs a doService request on the selected WSS.
|
Payload |
doService(String dcp_type,
String serviceRequest,
String facadeURL)
Performs a doService request on the selected WSS.
|
SessionInformation |
getSession(AuthenticationMethod authnMethod)
Establishes a session between the WSSAccessor and the remote WSS service.
|
List<String> |
getSupportedAuthenticationMethods()
Retrieves the capabilities document of a WSS, parses it and returns the supported auhtentication methods.
|
String |
getWSS()
Returns the URL to the used WSS.
|
org.dom4j.Document |
getWSSCapabilities()
Tries to retrieve the capabillities document from the specific WSS.
|
void |
setAuthenticationMethod(AuthenticationMethod authnMethod)
Sets the authentication method for WSS interaction.
|
void |
setCredentialProvider(org.apache.commons.httpclient.auth.CredentialsProvider credentialProvider)
DOCUMENT ME!
|
void |
setProxy(String proxy_url,
int port)
Sets a proxy for indirect HTTP communication.
|
void |
setWSS(String wssUrl)
Sets the URL of WSS to use.
|
static final String DCP_HTTP_GET
static final String DCP_HTTP_POST
void closeSession()
throws ServiceException
ServiceException - Is thrown, when closeSession() fails on the WSSPayload doService(String dcp_type, String serviceRequest, org.apache.commons.httpclient.NameValuePair[] requestParams, String facadeURL) throws ServiceException
dcp_type - Must be
HTTP GET or
HTTP POSTserviceRequest - Request to a secured servicerequestParams - An array with request parameters, i.e. HTTP_Header / Mime-Type: text/xmlfacadeURL - String with an URL to facadeServiceException - Thrown in case of an error.Payload doService(String dcp_type, String serviceRequest, String facadeURL) throws ServiceException
dcp_type - Must be
HTTP GET or
HTTP POSTserviceRequest - Request to a secured servicefacadeURL - String with an URL to facadeServiceException - Thrown in case of an error.SessionInformation getSession(AuthenticationMethod authnMethod) throws AuthenticationFailedException
authnMethod - The authentication method which should be usedAuthenticationFailedException - Is thrown, when the authentication failsList<String> getSupportedAuthenticationMethods()
String getWSS()
org.dom4j.Document getWSSCapabilities()
nullvoid setAuthenticationMethod(AuthenticationMethod authnMethod)
authnMethod - The authentication method that shall be used.void setProxy(String proxy_url, int port)
proxy_url - URL of the proxy to use.port - The port of the proxy server.void setCredentialProvider(org.apache.commons.httpclient.auth.CredentialsProvider credentialProvider)
credentialProvider - DOCUMENT ME!void setWSS(String wssUrl)
wssUrl - URL of an WSSCopyright © 2012–2025 cismet GmbH. All rights reserved.