OpenEMM and webservices

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

olivier.r
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

OpenEMM and webservices

Post by olivier.r » Thu Oct 26, 2006 8:45 am

I have developped an XML RPC webservice to add a user in MySQL (customer_X_tbl table) and to subscribe the user to mailing lists (customer_X_binding_tbl) ... this work fine ... my probleme is when I want to fill the specific field in my web service :

I have a specific field called "town" in th DB :

- If I create a user with the OpenEMM interface and I fill this field ... it's OK.ie. the field is present and valued, and the recipient profile in OpenEMM show me the value for this field ...

but ....

- If I try to directly INSERT a user (or create a user through my webservice, it's equivalent), and I execute an UPDATE statement to fill the "town" field ... then, the field is present and valued in the DB but not valued in the user profile in OpenEMM ...


It's seem that when you create a user through OpenEMM administration it do more than just an INSERT in the customer_X_tbl ... but I don't discover what ...


Can you help me ... I have the problem with both 5.0.1 and 5.0.2 ...

Thanks.
Olivier.

olivier.r
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Post by olivier.r » Fri Oct 27, 2006 9:53 am

It seem that the customer_1_tbl_seq table is modified when a user is created with the openEMM interface... but how ? Thanks ..

Post Reply