Ignore:
Timestamp:
Dec 18, 2020, 2:13:22 PM (3 years ago)
Author:
djay
Message:

Add support for the two inputs / outputs syntaxes discussed in SWG in both the ZOO-Kernel and the HTML basic UI. Update documentation, add a section for the ZOO-API in Python language section. Rename variables in service.c to ease readabiliy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/request_parser.c

    r966 r967  
    16891689int validateRequest(maps** main_conf,service* s,map* original_request, maps** request_inputs,maps** request_outputs,HINTERNET* hInternet){
    16901690
    1691   map* errI0=NULL;
    1692   runHttpRequests (main_conf, request_inputs, hInternet,&errI0);
    1693   if(errI0!=NULL){
    1694     printExceptionReportResponse (*main_conf, errI0);
     1691  if(hInternet!=NULL){
     1692    map* errI0=NULL;
     1693    runHttpRequests (main_conf, request_inputs, hInternet,&errI0);
     1694    if(errI0!=NULL){
     1695      printExceptionReportResponse (*main_conf, errI0);
     1696      InternetCloseHandle (hInternet);
     1697      return -1;
     1698    }
    16951699    InternetCloseHandle (hInternet);
    1696     return -1;
    16971700  }
    1698   InternetCloseHandle (hInternet);
    1699 
    17001701
    17011702  map* errI=NULL;
     
    17201721              addToMap (tmpe, "locator", ptr->name);
    17211722              addToMap (tmpe, "text", tmps);
    1722               printExceptionReportResponse (*main_conf, tmpe);
     1723              printExceptionReportResponse (*main_conf, tmpe);
    17231724              freeMap (&tmpe);
    17241725              free (tmpe);
Note: See TracChangeset for help on using the changeset viewer.

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