From 9a0445719130b89784a6bfe9a69ef6e190eda906 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Thu, 2 Jun 2005 14:46:21 +0000 Subject: [PATCH] fix build with gsoap 2.6.2 --- org.glite.lb.server/examples/ws_jobstat.c | 6 ++++++ org.glite.lb.server/src/ws_query.c | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/org.glite.lb.server/examples/ws_jobstat.c b/org.glite.lb.server/examples/ws_jobstat.c index 4bb2afd..603d9c7 100644 --- a/org.glite.lb.server/examples/ws_jobstat.c +++ b/org.glite.lb.server/examples/ws_jobstat.c @@ -7,6 +7,12 @@ #include "bk_ws_H.h" #include "ws_typeref.h" +#include "soap_version.h" + +#if GSOAP_VERSION <= 20602 +#define soap_call___lb__JobStatus soap_call___ns1__JobStatus +#endif + #include "LoggingAndBookkeeping.nsmap" static struct option opts[] = { diff --git a/org.glite.lb.server/src/ws_query.c b/org.glite.lb.server/src/ws_query.c index 1c0bc46..c67343c 100644 --- a/org.glite.lb.server/src/ws_query.c +++ b/org.glite.lb.server/src/ws_query.c @@ -12,6 +12,14 @@ #include "ws_fault.h" #include "ws_typeref.h" +#if GSOAP_VERSION <= 20602 +#define __lb__GetVersion __ns1__GetVersion +#define __lb__JobStatus __ns1__JobStatus +#define __lb__UserJobs __ns1__UserJobs +#define __lb__QueryJobs __ns1__QueryJobs +#define __lb__QueryEvents __ns1__QueryEvents +#endif + #if 0 int edgwll2__GetVersion( -- 1.8.2.3