Last change
on this file since 32 was
26,
checked in by djay, 14 years ago
|
ZOO-Kernel updates and bug fixes :
- Fixing gestion of RawDataOutput? when the Service return SERVICE_FAILED an ExceptionReport? was returned to the client.
- Use gcc when compiling service_internal.c to avoid strange error messages about switch ....
- Function setMapInMaps was added in service.h to let users set the value of a specific map in a maps.
- Fixing JavaScript? issue during the context destruction process.
- Use the GetStatus? ZOO Service when it is available on the local installation for statusLocation.
- Add some comments for ServiceStarted?, ServiceSucceeded?, ServiceFailed? and ServiceAccepted?.
- Dynamic creation of a lenv maps in the main configuration file maps, containing the current status and a sid (Service ID). Those informations can be used later by the GetStatus? Service to let user check the on-going status during the Service runs.
- Function updateStatus was added to service_internal.h which let the Services developers set the current percentCompleted value.
ZOO-Service updates and bug fixes :
- Add GetStatus? Service and its demo longProcess Service. All are in the wps_status.zo Services Provider.
- Use the setMapInMaps in the base-vect-ops code to enhance readibility.
ZOO-API updates :
- Add the function ZOO.UpdateStatus? to the ZOO JavaScript? API which simply point on ZOOUpdateStatus which can be called as-is from JavaScript?. Use : ZOOUpdateStatus(conf,value) where conf is the main configuration file maps and value the the value of the current status.
|
File size:
1022 bytes
|
Line | |
---|
1 | [longProcess] |
---|
2 | Title = Demo long process. |
---|
3 | Abstract = This service doesn't do anything except taking its time, it demonstrates how to use the updateStatus function from your ZOO Service. |
---|
4 | processVersion = 1 |
---|
5 | storeSupported = true |
---|
6 | statusSupported = true |
---|
7 | serviceProvider = wps_status.zo |
---|
8 | serviceType = C |
---|
9 | <MetaData lang="en"> |
---|
10 | title = Demo GetStatus request |
---|
11 | </MetaData> |
---|
12 | <DataInputs> |
---|
13 | [sid] |
---|
14 | Title = Service ID |
---|
15 | Abstract = A ZOO Service ID (unused). |
---|
16 | minOccurs = 0 |
---|
17 | maxOccurs = 1 |
---|
18 | <LiteralData> |
---|
19 | dataType = integer |
---|
20 | <Default> |
---|
21 | uom = meters |
---|
22 | </Default> |
---|
23 | <Supported> |
---|
24 | uom = feet |
---|
25 | </Supported> |
---|
26 | </LiteralData> |
---|
27 | </DataInputs> |
---|
28 | <DataOutputs> |
---|
29 | [Result] |
---|
30 | Title = ExecuteResponse document |
---|
31 | Abstract = The resulting ExecuteResponse document. |
---|
32 | <MetaData lang="en"> |
---|
33 | title = Demo XSL use case |
---|
34 | </MetaData> |
---|
35 | <LiteralData> |
---|
36 | dataType = string |
---|
37 | <Default> |
---|
38 | uom = meters |
---|
39 | </Default> |
---|
40 | <Supported> |
---|
41 | uom = feet |
---|
42 | </Supported> |
---|
43 | </LiteralData> |
---|
44 | </DataOutputs> |
---|
Note: See
TracBrowser
for help on using the repository browser.