From 8dd2943190401837d0dbfb051792c1f72964a0e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 9 Jun 2006 11:44:47 +0000 Subject: [PATCH] Fix/update web services examples (but ws_getversion has different problem yet). --- org.glite.lb.server/examples/ws_getversion.c | 1 + org.glite.lb.server/examples/ws_joblog.c | 1 + org.glite.lb.server/examples/ws_jobstat.c | 1 + org.glite.lb.server/examples/ws_query_ex.c | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.server/examples/ws_getversion.c b/org.glite.lb.server/examples/ws_getversion.c index 6396650..8560cfb 100644 --- a/org.glite.lb.server/examples/ws_getversion.c +++ b/org.glite.lb.server/examples/ws_getversion.c @@ -49,6 +49,7 @@ int main(int argc,char** argv) glite_gsplugin_init_context(&gsplugin_ctx); soap_init(&soap); + soap_set_namespaces(&soap, namespaces); if ( soap_register_plugin_arg(&soap, glite_gsplugin, (void *)gsplugin_ctx) ) { diff --git a/org.glite.lb.server/examples/ws_joblog.c b/org.glite.lb.server/examples/ws_joblog.c index 9b6d267..e197df0 100644 --- a/org.glite.lb.server/examples/ws_joblog.c +++ b/org.glite.lb.server/examples/ws_joblog.c @@ -77,6 +77,7 @@ int main(int argc,char** argv) edg_wll_InitContext(&ctx); glite_gsplugin_init_context(&gsplugin_ctx); + soap_set_namespaces(mydlo, namespaces); if ( soap_register_plugin_arg(mydlo, glite_gsplugin, (void *)gsplugin_ctx) ) { soap_print_fault(mydlo, stderr); diff --git a/org.glite.lb.server/examples/ws_jobstat.c b/org.glite.lb.server/examples/ws_jobstat.c index 603d9c7..f38c94f 100644 --- a/org.glite.lb.server/examples/ws_jobstat.c +++ b/org.glite.lb.server/examples/ws_jobstat.c @@ -65,6 +65,7 @@ int main(int argc,char** argv) } edg_wll_InitContext(&ctx); + soap_set_namespaces(mydlo, namespaces); glite_gsplugin_init_context(&gsplugin_ctx); if ( soap_register_plugin_arg(mydlo, glite_gsplugin, (void *)gsplugin_ctx) ) diff --git a/org.glite.lb.server/examples/ws_query_ex.c b/org.glite.lb.server/examples/ws_query_ex.c index aae1624..2f3bd62 100644 --- a/org.glite.lb.server/examples/ws_query_ex.c +++ b/org.glite.lb.server/examples/ws_query_ex.c @@ -50,7 +50,7 @@ int main(int argc,char** argv) edg_wll_InitContext(&ctx); glite_gsplugin_init_context(&gsplugin_ctx); - + soap_set_namespaces(soap, namespaces); if ( soap_register_plugin_arg(soap, glite_gsplugin, (void *)gsplugin_ctx) ) { soap_print_fault(soap, stderr); -- 1.8.2.3