Changeset 656
- Timestamp:
- Jun 15, 2015, 4:11:05 PM (10 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_loader.c
r654 r656 294 294 if(cur->ns){ 295 295 addToMap(tmpMap,"wps_schemas",(char*)cur->ns->href); 296 xmlFree(tval);297 296 int j=0; 298 297 for(j=0;j<2;j++) -
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r654 r656 1265 1265 #endif 1266 1266 xmlDocPtr doc = xmlNewDoc (BAD_CAST "1.0"); 1267 r_inputs = NULL; 1268 //r_inputs = getMap (request_inputs, "ServiceProvider"); 1269 r_inputs = getMap (request_inputs, "version"); 1270 xmlNodePtr n=printGetCapabilitiesHeader(doc,m,(r_inputs!=NULL?r_inputs->value:"1.0.0")); 1267 xmlNodePtr n=printGetCapabilitiesHeader(doc,m,(version!=NULL?version->value:"1.0.0")); 1271 1268 /** 1272 1269 * Here we need to close stdout to ensure that unsupported chars … … 1290 1287 return res; 1291 1288 } 1289 fflush (stdout); 1292 1290 dup2 (saved_stdout, fileno (stdout)); 1293 1291 printDocument (m, doc, getpid ()); … … 1363 1361 r_inputs = NULL; 1364 1362 r_inputs = getMap (request_inputs, "version"); 1365 map* version=getMapFromMaps(m,"main","rversion");1366 int vid=getVersionId(version->value);1367 1363 xmlNodePtr n = printWPSHeader(doc,m,"DescribeProcess", 1368 root_nodes[vid][1],( r_inputs!=NULL?r_inputs->value:"1.0.0"),1);1364 root_nodes[vid][1],(version!=NULL?version->value:"1.0.0"),1); 1369 1365 1370 1366 r_inputs = getMap (request_inputs, "Identifier");
Note: See TracChangeset
for help on using the changeset viewer.