Hello,
I would like to make a webservice (using nusoap) to allow external applications to insert, edit or delete MODx site content. This soap server could just edit the site_content table in the database, or it could use some of the modx api, maybe to take advantage of the built-in user authentication. The problem is that the soap call cannot pass trough the manager, so i cannot use the file manager/processors/save_content.processor.php.
My question is : is it possible, easy and worthwile to instantiate a modx object in my soap server, so that I can use it to login a user, and edit the pages following the permissions of this user, and collect any error ? Or should i implement my own user authentication check and edit directly the database table ?
Thanks
Ok, thank you for your helpfull reply.
I’ll post the code in this thread as soon as I have something useable.