summaryrefslogtreecommitdiffstats
path: root/lasso/id-wsf-2.0/data_service.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-03-27 15:05:04 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-03-27 15:05:04 +0000
commitdfb0b91ed6d3c85aa7764de75d2e5298ed93ba22 (patch)
treefb56882f950d9f35316a0d485b908ebd2093ece7 /lasso/id-wsf-2.0/data_service.c
parent141c4a382ea5a893f09ce3675554c1ca166f2843 (diff)
downloadlasso-dfb0b91ed6d3c85aa7764de75d2e5298ed93ba22.tar.gz
lasso-dfb0b91ed6d3c85aa7764de75d2e5298ed93ba22.tar.xz
lasso-dfb0b91ed6d3c85aa7764de75d2e5298ed93ba22.zip
ID-WSF 2.0: make it work with --enabe-debugging
* lasso/id-wsf-2.0/data_service.c: * lasso/id-wsf-2.0/discovery.c: * lasso/id-wsf-2.0/profile.c: * lasso/id-wsf/data_service.c: * lasso/id-wsf/discovery.c: * lasso/id-wsf/wsf_profile.c: when --enable-debugging is activated much more type checking is done by internal macros, and code do not pass compile anymore. * bindings/python/tests/idwsf2_tests.py: nameIdentifier packing in SOAP ID-WSF calls headers is no longer supported, do not test it.
Diffstat (limited to 'lasso/id-wsf-2.0/data_service.c')
-rw-r--r--lasso/id-wsf-2.0/data_service.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lasso/id-wsf-2.0/data_service.c b/lasso/id-wsf-2.0/data_service.c
index 033d51f3..2cdaf4bc 100644
--- a/lasso/id-wsf-2.0/data_service.c
+++ b/lasso/id-wsf-2.0/data_service.c
@@ -93,7 +93,7 @@ lasso_idwsf2_data_service_init_query(LassoIdWsf2DataService *service)
if (LASSO_PROFILE(profile)->request) {
lasso_node_destroy(LASSO_NODE(LASSO_PROFILE(profile)->request));
}
- lasso_assign_new_gobject(LASSO_PROFILE(profile)->request, query);
+ lasso_assign_new_gobject(LASSO_PROFILE(profile)->request, LASSO_NODE(query));
if (service == NULL || service->private_data == NULL
|| service->private_data->epr == NULL
@@ -268,7 +268,7 @@ lasso_idwsf2_data_service_parse_query_items(LassoIdWsf2DataService *service)
response = lasso_idwsf2_dstref_query_response_new();
response->prefixServiceType = g_strdup(request->prefixServiceType);
response->hrefServiceType = g_strdup(request->hrefServiceType);
- lasso_assign_new_gobject(LASSO_PROFILE(profile)->response, response);
+ lasso_assign_new_gobject(LASSO_PROFILE(profile)->response, LASSO_NODE(response));
lasso_list_add_gobject(envelope->Body->any, response);
/* Initialise XML parsing */
@@ -673,7 +673,7 @@ lasso_idwsf2_data_service_init_modify(LassoIdWsf2DataService *service)
LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
modify = lasso_idwsf2_dstref_modify_new();
- lasso_assign_new_gobject(LASSO_PROFILE(profile)->request, modify);
+ lasso_assign_new_gobject(LASSO_PROFILE(profile)->request, LASSO_NODE(modify));
if (service == NULL || service->private_data == NULL
|| service->private_data->epr == NULL
@@ -906,7 +906,7 @@ lasso_idwsf2_data_service_parse_modify_items(LassoIdWsf2DataService *service)
response = lasso_idwsf2_dstref_modify_response_new();
response->prefixServiceType = g_strdup(request->prefixServiceType);
response->hrefServiceType = g_strdup(request->hrefServiceType);
- lasso_assign_new_gobject(LASSO_PROFILE(profile)->response, response);
+ lasso_assign_new_gobject(LASSO_PROFILE(profile)->response, LASSO_NODE(response));
lasso_list_add_gobject(envelope->Body->any, response);
response2 = LASSO_IDWSF2_UTIL_RESPONSE(response);