summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-env.c
diff options
context:
space:
mode:
authorGravatar snowdrop2004-02-03 08:59:22 +0000
committerGravatar snowdrop2004-02-03 08:59:22 +0000
commit889a90340eec29e63cb7b8b8095442d5858ad7ce (patch)
tree041a9fd7635c6da7827e4c55c1fece2ed03b6281 /libcsoap/soap-env.c
parentb3ecb22603e9187725810d1e1616fec01c5c063b (diff)
downloadcsoap-889a90340eec29e63cb7b8b8095442d5858ad7ce.tar.gz
csoap-889a90340eec29e63cb7b8b8095442d5858ad7ce.tar.bz2
develop
Diffstat (limited to 'libcsoap/soap-env.c')
-rw-r--r--libcsoap/soap-env.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/libcsoap/soap-env.c b/libcsoap/soap-env.c
index f7c1449..265295b 100644
--- a/libcsoap/soap-env.c
+++ b/libcsoap/soap-env.c
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-env.c,v 1.1 2004/02/03 08:10:05 snowdrop Exp $
+ * $Id: soap-env.c,v 1.2 2004/02/03 08:59:22 snowdrop Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -280,6 +280,24 @@ soap_env_get_body(SoapEnv* env)
xmlNodePtr
+soap_env_get_method(SoapEnv* env)
+{
+
+ xmlNodePtr body;
+
+ body = soap_env_get_body(env);
+ if (body == NULL) {
+ log_verbose1("body is NULL");
+ return NULL;
+ }
+
+ /* mehtod is the first child */
+ return soap_xml_get_children(body);
+
+}
+
+
+xmlNodePtr
_soap_env_get_body(SoapEnv* env)
{
xmlNodePtr node, body;