buffer xml responces
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 14 Mar 2006 16:02:10 +0000 (16:02 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 14 Mar 2006 16:02:10 +0000 (16:02 +0000)
org.glite.jp.index/src/conf.c
org.glite.jp.index/src/soap_ps_calls.c

index cf38f18..502da22 100644 (file)
@@ -96,7 +96,7 @@ int glite_jp_get_conf(int argc, char **argv, char *config_file, glite_jp_is_conf
 
        // prefixes & attributes defined in:
        // lb.server/build/jp_job_attrs.h (created when build plugin)
-       // jp.common/interfaces/known_attr.h
+       // jp.common/interface/known_attr.h
 
        conf->attrs = calloc(19, sizeof(*conf->attrs));
        conf->attrs[0] = strdup("http://egee.cesnet.cz/en/Schema/JP/System:owner");
index 874b8b0..41ae0be 100644 (file)
@@ -144,6 +144,8 @@ lprintf("MyFeedIndex for %s called\n", dest);
        
        soap_init(soap);
         soap_set_namespaces(soap,jpps__namespaces);
+       soap_set_omode(soap, SOAP_IO_BUFFER);   // set buffered response
+                                                // buffer set to SOAP_BUFLEN (default = 8k)    
        soap_register_plugin_arg(soap,glite_gsplugin,plugin_ctx);
 
        memset(&in, 0, sizeof(in));