Changes between Version 8 and Version 9 of ZooWebSite/ZooServices/ZCFGReference
- Timestamp:
- Jan 16, 2011, 6:06:18 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/ZooServices/ZCFGReference
v8 v9 12 12 13 13 '''The ZOO Service Configuration File is case sensitive.''' 14 14 15 == Main metadata informations == 15 16 16 The fist part in a ZOO Configuration contains the metadata informations relatives to the service. Note that the "name of your service", between bracket on the first line, have to be the exact same name as the function you defined in you servicecode.17 The fist part in a ZOO Configuration contains the metadata informations relatives to the service. Note that the "name of your service", between bracket on the first line, have to be the exact same name as the function you defined in your services provider code. 17 18 18 19 You can see bellow a description of the main metadata informations: … … 34 35 == List of Inputs == 35 36 36 The list of inputs contains metadata information of each defined input and it is a {{{<DataInputs>}}} node. 37 The list of inputs contains metadata information of each supported input and they are grouped using a {{{<DataInputs>}}} node. 38 39 Each input is defined as : 40 * a name (between brackets as for the name of the service before) 41 * various medata properties ({{{Title}}}, {{{Abstract}}}, {{{minOccurs}}} and {{{maxOccurs}}}) 42 * a Type Of Data node ([#TypeOfDataNodes description]) 37 43 38 44 A typical list of inputs ({{{<DataInputs>}}}) look like the following: … … 59 65 == List of Outputs == 60 66 61 The list of outputs is similar to a list of inputs except it is designed as a {{{<DataOutputs>}}} node.67 The list of outputs is very similar to a list of inputs except it is designed as a {{{<DataOutputs>}}} node. 62 68 63 69 A typical {{{<DataOutputs>}}} node look like the following: … … 126 132 === !ComplexData node === 127 133 128 A ComplexData node get a {{{<Default>}}} and one or more {{{<Supported>}}} nodes depending on the number of supported format. A format is this set of properties : {{{mimeType}}}, {{{encoding}}} and optionaly {{{schema}}}.134 A !ComplexData node get a {{{<Default>}}} and one or more {{{<Supported>}}} nodes depending on the number of supported format. A format is this set of properties : {{{mimeType}}}, {{{encoding}}} and optionaly {{{schema}}}. 129 135 130 For output ComplexData nodes, you can add the {{{extension}}} property to define what extension to use to name the file when storing the result is required. Obviously, you'll have to add the extension to each supported format. You can also add the {{{asReference}}} property for each input to define if the output should be stored on server side per default. Note, that the client can always modify this behavior setting {{{asReference}}} attribute to {{{true}}} or {{{false}}} for this output in the {{{ResponseDocument}}}.136 For output !ComplexData nodes, you can add the {{{extension}}} property to define what extension to use to name the file when storing the result is required. Obviously, you'll have to add the extension to each supported format. You can also add the {{{asReference}}} property for each input to define if the output should be stored on server side per default. Note, that the client can always modify this behavior setting {{{asReference}}} attribute to {{{true}}} or {{{false}}} for this output in the {{{ResponseDocument}}}. 131 137 132 You can see above a sample ComplexData node for default {{{application/json}}} and {{{text/xml}}} mimeTypes support:138 You can see above a sample !ComplexData node for default {{{application/json}}} and {{{text/xml}}} mimeTypes support: 133 139 {{{ 134 140 #!Lineno