summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar m0gg2006-11-27 10:52:39 +0000
committerGravatar m0gg2006-11-27 10:52:39 +0000
commit6579b9cebeffc00031f59d2ed5c2476b4dfb87dc (patch)
tree22d224bc1ed103dff1ddbc2b6395a1821717a7ea
parent6778f81586ad6869de18ee7abd8e4940b02d37c4 (diff)
downloadcsoap-6579b9cebeffc00031f59d2ed5c2476b4dfb87dc.tar.gz
csoap-6579b9cebeffc00031f59d2ed5c2476b4dfb87dc.tar.bz2
Code cleanup
-rw-r--r--libcsoap/soap-wsil.c8
-rw-r--r--libcsoap/soap-wsil.h10
2 files changed, 10 insertions, 8 deletions
diff --git a/libcsoap/soap-wsil.c b/libcsoap/soap-wsil.c
index f4960ef..3d03b37 100644
--- a/libcsoap/soap-wsil.c
+++ b/libcsoap/soap-wsil.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: soap-wsil.c,v 1.4 2006/11/25 16:35:57 m0gg Exp $
+* $Id: soap-wsil.c,v 1.5 2006/11/27 10:52:39 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -54,8 +54,8 @@ _soap_wsil_list_routers(httpd_conn_t *conn)
for (node=soap_server_get_routers(); node; node=node->next)
{
http_output_stream_write_string(conn->out,
- "<service>"
- "<description "
+ "<wsil:service>"
+ "<wsil:description "
"location=\"");
http_output_stream_write_string(conn->out, soap_transport_get_name());
http_output_stream_write_string(conn->out, node->context);
@@ -75,7 +75,7 @@ _soap_wsil_list_routers(httpd_conn_t *conn)
}
http_output_stream_write_string(conn->out,
"\" />"
- "</service>");
+ "</wsil:service>");
}
return;
}
diff --git a/libcsoap/soap-wsil.h b/libcsoap/soap-wsil.h
index 0eedf67..faa739c 100644
--- a/libcsoap/soap-wsil.h
+++ b/libcsoap/soap-wsil.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-wsil.h,v 1.2 2006/11/27 10:49:57 m0gg Exp $
+ * $Id: soap-wsil.h,v 1.3 2006/11/27 10:52:39 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2006 H. Ronsdorf
@@ -58,9 +58,11 @@
* such a duplication is not desired.
*
* @author H. Ronsorf
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*
- * @see http://www-128.ibm.com/developerworks/library/specification/ws-wsilspec/
+ * @see http://www-128.ibm.com/developerworks/library/specification/ws-wsilspec/,
+ * http://www.w3.org/TR/wsdl,
+ * http://www.uddi.org/
*
*/
@@ -88,7 +90,7 @@ extern "C" {
* @see CSOAP_ENABLE_WSIL
*
*/
-extern herror_t soap_wsil_init_args(int argc, char *argv[]);
+extern herror_t soap_wsil_init_args(int argc, char **argv);
#ifdef __cplusplus
}