summaryrefslogtreecommitdiffstats
path: root/python/xml/py_xml.c
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-05-05 12:59:16 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-05-05 12:59:16 +0000
commitb6011ab10734bec8c6b47131ef75a45e689681a4 (patch)
tree7b56b89188fd2d486d7edaaa00ef2f967873f02f /python/xml/py_xml.c
parent84a15f9fdde1548e7eef0a33fd32887376ba54be (diff)
downloadlasso-b6011ab10734bec8c6b47131ef75a45e689681a4.tar.gz
lasso-b6011ab10734bec8c6b47131ef75a45e689681a4.tar.xz
lasso-b6011ab10734bec8c6b47131ef75a45e689681a4.zip
add enveloping in soap node
Diffstat (limited to 'python/xml/py_xml.c')
-rw-r--r--python/xml/py_xml.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/python/xml/py_xml.c b/python/xml/py_xml.c
index 405fee16..76384319 100644
--- a/python/xml/py_xml.c
+++ b/python/xml/py_xml.c
@@ -130,6 +130,22 @@ PyObject *node_url_encode(PyObject *self, PyObject *args) {
return (charPtr_wrap(ret));
}
+PyObject *node_soap_envelop(PyObject *self, PyObject *args) {
+ PyObject *node_obj;
+ gchar *ret;
+
+ if (CheckArgs(args, "O:node_unref")) {
+ if(!PyArg_ParseTuple(args, (char *) "O:node_url_encode",
+ &node_obj))
+ return NULL;
+ }
+ else return NULL;
+
+ ret = lasso_node_soap_envelop(LassoNode_get(node_obj));
+
+ return (charPtr_wrap(ret));
+}
+
PyObject *node_verify_signature(PyObject *self, PyObject *args) {
PyObject *node_obj;
const gchar *certificate_file;