From 61c6c43d734bcc4c4bf79fe467225e93e41eb096 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Tue, 18 Oct 2005 08:10:43 +0000 Subject: [PATCH] Make examples work by using namespaces explicitely (complement to -DNO_NAMESPACES) --- org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c | 1 + org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c | 1 + 2 files changed, 2 insertions(+) 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"); -- 1.8.2.3