From fee8ff9acf2d181d20140d32f71bbfd21f02c98f Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 26 Aug 2009 15:13:16 +0000 Subject: ID-WSF 2.0: publicize lasso_idwsf2_profile_build_soap_envelope * lasso/id-wsf-2.0/profile.c, lasso/id-wsf-2.0/profile.h (lasso_idwsf2_profile_build_soap_envelope): as for ID-WSF 1.0 export this function to allow easier implementation of external ID-WSF 2.0 services. remove FIXME comment and fill equivalent bugzilla reports. --- lasso/id-wsf-2.0/profile.c | 11 +---------- lasso/id-wsf-2.0/profile.h | 4 ++++ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/lasso/id-wsf-2.0/profile.c b/lasso/id-wsf-2.0/profile.c index 5911f6e9..61d88c18 100644 --- a/lasso/id-wsf-2.0/profile.c +++ b/lasso/id-wsf-2.0/profile.c @@ -53,10 +53,9 @@ /* private methods */ /*****************************************************************************/ -static LassoSoapEnvelope* +LassoSoapEnvelope* lasso_idwsf2_profile_build_soap_envelope(G_GNUC_UNUSED const char *refToMessageId, G_GNUC_UNUSED const char *providerId) { - /* FIXME: add support for sb:Correlation header, and refToMessageId parameter */ LassoSoapEnvelope *envelope; LassoSoapHeader *header; LassoSoapBody *body; @@ -70,14 +69,6 @@ lasso_idwsf2_profile_build_soap_envelope(G_GNUC_UNUSED const char *refToMessageI header = lasso_soap_header_new(); envelope->Header = header; - /* FIXME : May be integrated later when we implement id-wsf 2.0 soap headers */ - /* Provider */ -/* if (providerId) { */ -/* LassoSoapBindingProvider *provider = lasso_soap_binding_provider_new(providerId); */ -/* provider->id = lasso_build_unique_id(32); */ -/* header->Other = g_list_append(header->Other, provider); */ -/* } */ - return envelope; } diff --git a/lasso/id-wsf-2.0/profile.h b/lasso/id-wsf-2.0/profile.h index ae586282..442c5a7d 100644 --- a/lasso/id-wsf-2.0/profile.h +++ b/lasso/id-wsf-2.0/profile.h @@ -78,6 +78,10 @@ LASSO_EXPORT gint lasso_idwsf2_profile_build_response_msg(LassoIdWsf2Profile *pr LASSO_EXPORT gint lasso_idwsf2_profile_process_soap_response_msg(LassoIdWsf2Profile *profile, const gchar *message); +LASSO_EXPORT LassoSoapEnvelope* lasso_idwsf2_profile_build_soap_envelope( + const char *refToMessageId, + const char *providerId); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit