summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:13:07 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:13:07 +0000
commit714248160ff5ac2f8acc397443ee6529627fc13d (patch)
treec5821ea58ce01d285c6339e6d8f1a6e667ea320d
parentecac419fa2bcff3c22a8682a6af0ba2cb1811821 (diff)
ID-WSF 2.0: review lasso_idwsf2_discovery_metadata_register_self
* lasso/id-wsf-2.0/discovery.c (lasso_idwsf2_discovery_metadata_register_self): Add documentation, add code for getting the service URL.
-rw-r--r--lasso/id-wsf-2.0/discovery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lasso/id-wsf-2.0/discovery.c b/lasso/id-wsf-2.0/discovery.c
index 06b9f162..21a8e33f 100644
--- a/lasso/id-wsf-2.0/discovery.c
+++ b/lasso/id-wsf-2.0/discovery.c
@@ -143,7 +143,7 @@ lasso_idwsf2_discovery_metadata_register_self(LassoIdWsf2Discovery *discovery,
* Initialise a ID-WSF service metadata registration request to a Discovery service
* specified by disco_provider_id.
*
- * Return value: 0 on success; or a negative value otherwise.
+ * Return value: 0 on success; an error code otherwise.
**/
gint
lasso_idwsf2_discovery_init_metadata_register(LassoIdWsf2Discovery *discovery,
@@ -178,8 +178,8 @@ lasso_idwsf2_discovery_init_metadata_register(LassoIdWsf2Discovery *discovery,
lasso_idwsf2_profile_init_soap_request(profile, LASSO_NODE(metadata_register),
LASSO_IDWSF2_DISCO_HREF);
- /* FIXME : Get the url of the disco service where we must send the soap request */
- /* profile->msg_url = g_strdup(disco_provider_id); */
+ /* Get the url of the disco service where we must send the soap request */
+ lasso_idwsf2_profile_set_endpoint_for_action(LASSO_IDWSF2_DS_REGISTER_ACTION);
return 0;
}