From: Aleš Křenek Date: Tue, 18 Oct 2005 08:10:43 +0000 (+0000) Subject: Make examples work by using namespaces explicitely (complement to -DNO_NAMESPACES) X-Git-Tag: merge-1_2_0-to-head_src~98 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=61c6c43d734bcc4c4bf79fe467225e93e41eb096;p=jra1mw.git Make examples work by using namespaces explicitely (complement to -DNO_NAMESPACES) --- diff --git a/org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c b/org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c index b96827d..1173626 100644 --- a/org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c +++ b/org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c @@ -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); diff --git a/org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c b/org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c index 8a7c001..83fccc6 100644 --- a/org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c +++ b/org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c @@ -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");