summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGravatar snowdrop2004-10-15 15:10:14 +0000
committerGravatar snowdrop2004-10-15 15:10:14 +0000
commit9b300defa7ce03d8e2b78d6c0352f0245fcc7765 (patch)
tree5cd6c8d23d1364fcfa4ce2dd09a7d4929e83cb2d /examples
parent65147f5b7d17e1ece44076cccb1d7761c8ec7e1e (diff)
downloadcsoap-9b300defa7ce03d8e2b78d6c0352f0245fcc7765.tar.gz
csoap-9b300defa7ce03d8e2b78d6c0352f0245fcc7765.tar.bz2
updated for compiling under *nix
Diffstat (limited to 'examples')
-rw-r--r--examples/csoap/Makefile.am9
-rwxr-xr-xexamples/csoap/echoattachments-client.c4
-rwxr-xr-xexamples/csoap/echoattachments-server.c4
3 files changed, 12 insertions, 5 deletions
diff --git a/examples/csoap/Makefile.am b/examples/csoap/Makefile.am
index bb62213..3d47dc3 100644
--- a/examples/csoap/Makefile.am
+++ b/examples/csoap/Makefile.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS=simpleclient simpleserver
+bin_PROGRAMS=simpleclient simpleserver echoattachments-client echoattachments-server
INCLUDES=-I$(top_srcdir)/ $(LIBXML_CFLAGS)
LDFLAGS=-L$(top_builddir)/nanohttp -lnanohttp-$(GENERIC_API_VERSION) \
@@ -12,6 +12,13 @@ simpleclient_LDFLAGS=$(LDFLAGS)
simpleserver_SOURCES=simpleserver.c
simpleserver_LDFLAGS=$(LDFLAGS)
+echoattachments_server_SOURCES=echoattachments-server.c
+echoattachments_server_LDFLAGS=$(LDFLAGS)
+
+echoattachments_client_SOURCES=echoattachments-client.c
+echoattachments_client_LDFLAGS=$(LDFLAGS)
+
+
diff --git a/examples/csoap/echoattachments-client.c b/examples/csoap/echoattachments-client.c
index 63b7a21..352a73c 100755
--- a/examples/csoap/echoattachments-client.c
+++ b/examples/csoap/echoattachments-client.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: echoattachments-client.c,v 1.2 2004/10/15 13:53:36 snowdrop Exp $
+ * $Id: echoattachments-client.c,v 1.3 2004/10/15 15:10:14 snowdrop Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -27,7 +27,7 @@
/*
static const char *url = "http://csoap.sourceforge.net/cgi-bin/csoapserver";
*/
-static const char *url = "http://localhost:10000/echoattachments";
+static const char *url = "http://localhost:10000/echoattachment";
static const char *urn = "";
static const char *method = "echo";
diff --git a/examples/csoap/echoattachments-server.c b/examples/csoap/echoattachments-server.c
index 319618d..701d6a6 100755
--- a/examples/csoap/echoattachments-server.c
+++ b/examples/csoap/echoattachments-server.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: echoattachments-server.c,v 1.1 2004/10/15 13:42:57 snowdrop Exp $
+ * $Id: echoattachments-server.c,v 1.2 2004/10/15 15:10:15 snowdrop Exp $
*
* CSOAP Project: CSOAP examples project
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -24,7 +24,7 @@
#include <libcsoap/soap-server.h>
-static const char *url = "/axis/services/urn:EchoAttachmentsService";
+static const char *url = "/echoattachment";
static const char *urn = "";
static const char *method = "echo";