ZOO-Project: request_parser.c File Reference
ZOO-Project
request_parser.c File Reference
#include "request_parser.h"
#include "service_internal.h"
#include "server_internal.h"
#include "response_print.h"
#include "caching.h"
#include "cgic.h"
<

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png

Functions

xmlXPathObjectPtr extractFromDoc (xmlDocPtr doc, const char *search)
 Apply XPath Expression on XML document. More...
 
int appendMapsToMaps (maps *m, maps *mo, maps *mi, elements *elem)
 Create (or append to) an array valued maps value = "["",""]". More...
 
void ensureDecodedBase64 (maps **in)
 Make sure that each value encoded in base64 in a maps is decoded. More...
 
int kvpParseInputs (maps **main_conf, service *s, map *request_inputs, maps **request_output, HINTERNET *hInternet)
 Parse inputs provided as KVP and store them in a maps. More...
 
int kvpParseOutputs (maps **main_conf, map *request_inputs, maps **request_output)
 Parse outputs provided as KVP and store them in a maps. More...
 
int defineMissingIdentifier (maps **main_conf, maps **mymaps)
 Create a "missingIdentifier" maps in case it is NULL. More...
 
int xmlParseInputs (maps **main_conf, service *s, maps **request_output, xmlDocPtr doc, xmlNodeSet *nodes, HINTERNET *hInternet)
 Parse inputs from XML nodes and store them in a maps. More...
 
int xmlParseBoundingBox (maps **main_conf, map **current_input, xmlDocPtr doc)
 Parse a BoundingBoxData node. More...
 
int xmlParseOutputs2 (maps **main_conf, map **request_inputs, maps **request_output, xmlDocPtr doc, xmlNodeSet *nodes)
 Parse outputs from XML nodes and store them in a maps (WPS version 2.0.0). More...
 
int xmlParseOutputs (maps **main_conf, map **request_inputs, maps **request_output, xmlDocPtr doc, xmlNodePtr cur, bool raw)
 Parse outputs from XML nodes and store them in a maps. More...
 
int xmlParseRequest (maps **main_conf, const char *post, map **request_inputs, service *s, maps **inputs, maps **outputs, HINTERNET *hInternet)
 Parse XML request and store information in maps. More...
 
int parseRequest (maps **main_conf, map **request_inputs, service *s, maps **inputs, maps **outputs, HINTERNET *hInternet)
 Parse request and store information in maps. More...
 
int validateRequest (maps **main_conf, service *s, map *original_request, maps **request_inputs, maps **request_outputs, HINTERNET *hInternet)
 Ensure that each requested arguments are present in the request DataInputs and ResponseDocument / RawDataOutput. More...
 
void checkValidValue (map *request, map **res, const char *toCheck, const char **avalues, int mandatory)
 Verify if a parameter value is valid. More...