diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-26 15:13:16 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-26 15:13:16 +0000 |
| commit | fee8ff9acf2d181d20140d32f71bbfd21f02c98f (patch) | |
| tree | 7cf500c3e2a831b6639bd7dfcf62fad332be6134 | |
| parent | 562be4b08ae0649f353e63379d9ab0c25c894156 (diff) | |
| download | lasso-fee8ff9acf2d181d20140d32f71bbfd21f02c98f.tar.gz lasso-fee8ff9acf2d181d20140d32f71bbfd21f02c98f.tar.xz lasso-fee8ff9acf2d181d20140d32f71bbfd21f02c98f.zip | |
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.
| -rw-r--r-- | lasso/id-wsf-2.0/profile.c | 11 | ||||
| -rw-r--r-- | 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 */ |
