From 9b300defa7ce03d8e2b78d6c0352f0245fcc7765 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Fri, 15 Oct 2004 15:10:14 +0000 Subject: updated for compiling under *nix --- examples/csoap/Makefile.am | 9 ++++++++- examples/csoap/echoattachments-client.c | 4 ++-- examples/csoap/echoattachments-server.c | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'examples/csoap') 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 -static const char *url = "/axis/services/urn:EchoAttachmentsService"; +static const char *url = "/echoattachment"; static const char *urn = ""; static const char *method = "echo"; -- cgit v1.1-32-gdbae