diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-06 09:32:41 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-06 09:32:41 +0000 |
| commit | bfcf64f36888f74f71762eac537c61b8e6fffc11 (patch) | |
| tree | 5d1ff0e1d35b052a276f1e80abf6535cc0544d4e | |
| parent | c246e3779d34bf8637de96c14b5baa3be6e3234c (diff) | |
DST processQueryResponseMsg
| -rw-r--r-- | lasso/id-wsf-2.0/data_service.c | 15 | ||||
| -rw-r--r-- | lasso/id-wsf-2.0/data_service.h | 3 | ||||
| -rw-r--r-- | swig/Lasso-wsf2.i | 7 |
3 files changed, 24 insertions, 1 deletions
diff --git a/lasso/id-wsf-2.0/data_service.c b/lasso/id-wsf-2.0/data_service.c index 205b18ea..02a7af56 100644 --- a/lasso/id-wsf-2.0/data_service.c +++ b/lasso/id-wsf-2.0/data_service.c @@ -212,6 +212,21 @@ lasso_idwsf2_data_service_build_query_response_msg(LassoIdWsf2DataService *servi return lasso_wsf2_profile_build_response_msg(profile); } +gint +lasso_idwsf2_data_service_process_query_response_msg(LassoIdWsf2DataService *service, + const gchar *message) +{ + LassoWsf2Profile *profile = LASSO_WSF2_PROFILE(service); + int res; + + res = lasso_wsf2_profile_process_soap_response_msg(profile, message); + if (res != 0) { + return res; + } + + return 0; +} + /*****************************************************************************/ /* private methods */ /*****************************************************************************/ diff --git a/lasso/id-wsf-2.0/data_service.h b/lasso/id-wsf-2.0/data_service.h index 869e83d1..2b3717a1 100644 --- a/lasso/id-wsf-2.0/data_service.h +++ b/lasso/id-wsf-2.0/data_service.h @@ -87,6 +87,9 @@ LASSO_EXPORT gint lasso_idwsf2_data_service_process_query_msg(LassoIdWsf2DataSer LASSO_EXPORT gint lasso_idwsf2_data_service_build_query_response_msg( LassoIdWsf2DataService *service); + +LASSO_EXPORT gint lasso_idwsf2_data_service_process_query_response_msg( + LassoIdWsf2DataService *service, const gchar *message); #ifdef __cplusplus } diff --git a/swig/Lasso-wsf2.i b/swig/Lasso-wsf2.i index a37bb649..9b762066 100644 --- a/swig/Lasso-wsf2.i +++ b/swig/Lasso-wsf2.i @@ -362,10 +362,14 @@ typedef struct { THROW_ERROR() int processQueryMsg(const char *message); END_THROW_ERROR() - + THROW_ERROR() int buildQueryResponseMsg(); END_THROW_ERROR() + + THROW_ERROR() + int processQueryResponseMsg(const char *message); + END_THROW_ERROR() } %{ @@ -433,6 +437,7 @@ typedef struct { #define LassoIdWsf2DataService_addQueryItem lasso_idwsf2_data_service_add_query_item #define LassoIdWsf2DataService_processQueryMsg lasso_idwsf2_data_service_process_query_msg #define LassoIdWsf2DataService_buildQueryResponseMsg lasso_idwsf2_data_service_build_query_response_msg +#define LassoIdWsf2DataService_processQueryResponseMsg lasso_idwsf2_data_service_process_query_response_msg %} |
