summaryrefslogtreecommitdiffstats
path: root/python/xml/py_xml.c
diff options
context:
space:
mode:
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;