| java.lang.Object org.deegree.ogcwebservices.wps.execute.ExecuteResponse
ExecuteResponse | public class ExecuteResponse (Code) | | ExecuteResponseType.java
Created on 09.03.2006. 23:16:26h
WPS Execute operation response. By default, this XML document is delivered to
the client in response to an Execute request. If "status" is "false" in the
Execute operation request, this document is normally returned when process
execution has been completed. If "status" in the Execute request is "true",
this response shall be returned as soon as the Execute request has been
accepted for processing. In this case, the same XML document is also made
available as a web-accessible resource from the URL identified in the
statusLocation, and the WPS server shall repopulate it once the process has
completed. It may repopulate it on an ongoing basis while the process is
executing. However, the response to an Execute request will not include this
element in the special case where the output is a single complex value result
and the Execute request indicates that "store" is "false". Instead, the
server shall return the complex result (e.g., GIF image or GML) directly,
without encoding it in the ExecuteResponse. If processing fails in this
special case, the normal ExecuteResponse shall be sent, with the error
condition indicated. This option is provided to simplify the programming
required for simple clients and for service chaining.
author: Christian Kiehle author: Christian Heier version: 1.0. since: 2.0 |
Inner Class :public static class ProcessOutputs | |
Field Summary | |
protected ExecuteDataInputs | dataInputs Inputs that were provided as part of the execute request. | boolean | directResponse Convenience variable to simplify execute response handling. | protected Code | identifier Identifier of the Process requested to be executed. | protected OutputDefinitions | outputDefinitions Complete list of Output data types that were requested as part of the
Execute request. | protected ProcessOutputs | processOutputs List of values of the Process output parameters. | protected Status | status Execution status of this process. | protected String | statusLocation The URL referencing the location from which the ExecuteResponse can be
retrieved. | protected String | version Version of the WPS interface specification implemented by the server. |
dataInputs | protected ExecuteDataInputs dataInputs(Code) | | Inputs that were provided as part of the execute request. This element
can be omitted as an implementation decision by the WPS server. However,
it is often advisable to have the response include this information, so
the client can confirm that the request was received correctly, and to
provide a source of metadata if the client wishes to store the result for
future reference.
|
directResponse | boolean directResponse(Code) | | Convenience variable to simplify execute response handling.
|
identifier | protected Code identifier(Code) | | Identifier of the Process requested to be executed. This Process
identifier shall be as listed in the ProcessOfferings section of the WPS
Capabilities document.
|
outputDefinitions | protected OutputDefinitions outputDefinitions(Code) | | Complete list of Output data types that were requested as part of the
Execute request. This element can be omitted as an implementation
decision by the WPS server. However, it is often advisable to have the
response include this information, so the client can confirm that the
request was received correctly, and to provide a source of metadata if
the client wishes to store the result for future reference.
|
processOutputs | protected ProcessOutputs processOutputs(Code) | | List of values of the Process output parameters. Normally there would be
at least one output when the process has completed successfully. If the
process has not finished executing, the implementer can choose to include
whatever final results are ready at the time the Execute response is
provided. If the reference locations of outputs are known in advance,
these URLs may be provided before they are populated.
|
status | protected Status status(Code) | | Execution status of this process.
|
statusLocation | protected String statusLocation(Code) | | The URL referencing the location from which the ExecuteResponse can be
retrieved. If "status" is "true" in the Execute request, the
ExecuteResponse should also be found here as soon as the process returns
the initial response to the client. It should persist at this location as
long as the outputs are accessible from the server. The outputs may be
stored for as long as the implementer of the server decides. If the
process takes a long time, this URL can be repopulated on an ongoing
basis in order to keep the client updated on progress. Before the process
has succeeded, the ExecuteResponse contains information about the status
of the process, including whether or not processing has started, and the
percentage completed. It may also optionally contain the inputs and any
ProcessStartedType interim results. When the process has succeeded, the
ExecuteResponse found at this URL shall contain the output values or
references to them.
|
version | protected String version(Code) | | Version of the WPS interface specification implemented by the server.
|
ExecuteResponse | public ExecuteResponse(ExecuteDataInputs dataInputs, Code identifier, OutputDefinitions outputDefinitions, ProcessOutputs processOutputs, Status status, String statusLocation, String version, boolean directResponse)(Code) | | Parameters: dataInputs - Parameters: identifier - Parameters: outputDefinitions - Parameters: processOutputs - Parameters: status - Parameters: statusLocation - Parameters: version - Parameters: directResponse - |
ExecuteResponse | public ExecuteResponse()(Code) | | |
getIdentifier | public Code getIdentifier()(Code) | | Returns the identifier. |
getProcessOutputs | public ProcessOutputs getProcessOutputs()(Code) | | Returns the processOutputs. |
getStatus | public Status getStatus()(Code) | | Returns the status. |
getStatusLocation | public String getStatusLocation()(Code) | | Returns the statusLocation. |
getVersion | public String getVersion()(Code) | | Returns the version. |
isDirectResponse | public boolean isDirectResponse()(Code) | | Returns the directResponse. |
setDirectResponse | public void setDirectResponse(boolean directResponse)(Code) | | Parameters: directResponse - |
setIdentifier | public void setIdentifier(Code identifier)(Code) | | |
setProcessOutputs | public void setProcessOutputs(ProcessOutputs processOutputs)(Code) | | |
setStatusLocation | public void setStatusLocation(String statusLocation)(Code) | | |
|
|