Make examples work by using namespaces explicitely (complement to -DNO_NAMESPACES)
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 18 Oct 2005 08:10:43 +0000 (08:10 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 18 Oct 2005 08:10:43 +0000 (08:10 +0000)
org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c
org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c

index b96827d..1173626 100644 (file)
@@ -19,6 +19,7 @@ main(int argc, char **argv)
        }
 
        soap_init(&soap);
+       soap_set_namespaces(&soap,namespaces);
        soap_register_plugin(&soap, glite_gsplugin);
 
        a = strtod(argv[2], NULL);
index 8a7c001..83fccc6 100644 (file)
@@ -67,6 +67,7 @@ main(int argc, char **argv)
        }
 
        soap_init(&soap);
+       soap_set_namespaces(&soap,namespaces);
 
        if ( soap_register_plugin_arg(&soap, glite_gsplugin, ctx) ) {
                fprintf(stderr, "Can't register plugin\n");