| 1 | = .zcfg Reference = |
| 2 | |
| 3 | .zcfg is the ZOO Service configuration file which describes the service and being parsed by ZOO Kernel. You can use the generic example bellow to compose .zcfg files, and get working examples on the ZOO Trac. |
| 4 | |
| 5 | {{{ |
| 6 | #!xml |
| 7 | [Name of your service] |
| 8 | Title = Title of your service |
| 9 | Abstract = Description of your service |
| 10 | processVersion = Version number of your service |
| 11 | storeSupported = true/false |
| 12 | statusSupported = true/false |
| 13 | serviceType = C/Python/Java/PHP/Fortran/Javascript |
| 14 | serviceProvider = Name of your service provider (.zo) |
| 15 | ‹MetaData lang="en"› |
| 16 | title = Metadata title of your service |
| 17 | ‹/MetaData› |
| 18 | ‹DataInputs› |
| 19 | [F] |
| 20 | Title = Format of the input data |
| 21 | Abstract = Select the input format. |
| 22 | minOccurs = 0 |
| 23 | maxOccurs = 1 |
| 24 | ‹LiteralData› |
| 25 | DataType = Data type of your service InputData (string) |
| 26 | ‹Default› |
| 27 | value = Default InputData format for your service |
| 28 | ‹/Default› |
| 29 | ‹Supported› |
| 30 | value = Supported InputData formats for your service |
| 31 | ‹/Supported› |
| 32 | ‹/LiteralData› |
| 33 | [InputDSN] |
| 34 | Title = Input data source name |
| 35 | Abstract = Description of the input data source name |
| 36 | minOccurs = 1 |
| 37 | maxOccurs = 1 |
| 38 | ‹LiteralData› |
| 39 | DataType = Type of the input data source (string) |
| 40 | ‹Default› |
| 41 | uom = Default unit for your input data source |
| 42 | ‹/Default› |
| 43 | ‹Supported› |
| 44 | value = Supported format for your input data source |
| 45 | ‹/Supported› |
| 46 | ‹/LiteralData› |
| 47 | [OutputDSN] |
| 48 | Title = Output data source name |
| 49 | Abstract = Description of your output data source |
| 50 | minOccurs = 1 |
| 51 | maxOccurs = 1 |
| 52 | ‹LiteralData› |
| 53 | DataType = Type of the input data source (string) |
| 54 | ‹Default› |
| 55 | uom = Default unit for your input data source |
| 56 | ‹/Default› |
| 57 | ‹Supported› |
| 58 | value = Supported format for your input data source |
| 59 | ‹/Supported› |
| 60 | ‹/LiteralData› |
| 61 | ‹/DataInputs› |
| 62 | ‹DataOutputs› |
| 63 | [OutputedDataSourceName] |
| 64 | Title = Name of the resulting file |
| 65 | Abstract = Description of the resulting file |
| 66 | ‹LiteralData› |
| 67 | DataType = Type of the output data source (string) |
| 68 | ‹Default› |
| 69 | uom = Default unit for your output data source |
| 70 | ‹/Default› |
| 71 | ‹Supported› |
| 72 | value = Supported format for your output data source |
| 73 | ‹/Supported› |
| 74 | ‹/LiteralData› |
| 75 | ‹/DataOutputs› |
| 76 | }}} |