Ignore:
Timestamp:
Jan 9, 2013, 11:52:44 PM (11 years ago)
Author:
djay
Message:

Fix asynchronous support on windows platform, fix storage of responseDocument and add a sample service in Python language using the ZOO-API. Update makefile.vc and nmake.opt to remove unneeded cgic linkage. Fix for headers section to display only if needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/utils/status/service.c

    r348 r384  
    2424
    2525#include "service.h"
    26 #ifdef WIN32
    27 #include <windows.h>
    28 #endif
     26#include "service_internal.h"
    2927
    3028extern "C" {
     
    4038
    4139#include <dirent.h>
    42 #include "service_internal.h"
    4340
    4441  /**
     
    7673        fprintf(stderr,"File : %s searched : %s\n",dp->d_name,tmp);
    7774#endif
    78         if(strstr(dp->d_name,tmp)!=0){
     75        if(strstr(dp->d_name,"final_")==0 && strstr(dp->d_name,tmp)!=0){
    7976          sprintf(fileName,"%s/%s",tmpTmap->value,dp->d_name);
    8077          hasFile=1;
     78          break;
    8179        }
    8280      }
     
    109107      xmlDocDumpFormatMemory(res, &xmlbuff, &buffersize, 1);
    110108      setMapInMaps(outputs,"Result","value",(char*)xmlbuff);
    111       setMapInMaps(outputs,"Result","mimeType","text/xml");
    112       setMapInMaps(outputs,"Result","encoding","UTF-8");
    113109      xmlFree(xmlbuff);
    114110    }
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