I need someone to code an XML-RPC implementation in PHP to be hosted on a Zen Cart server. It needs to respond to three remote procedure calls:
* fetchCustomer. Takes a customer id (integer), and returns a single struct representing a single row from the "customers" table in Zen Cart
* fetchAllCustomers. Returns an array of structs with each struct representing the contents of all rows in the "customers" table in Zen Cart
* updateCustomer. Takes a struct as input, and updates the content for that row of the "customers" table in Zen Cart
All procedures must also take two additional, mandatory parameters: userid and password. These are mandatory for all procedures and must be authenticated against the Zen Cart administrator list (ie. the "admin" table using the same techniques as in the admin/[url removed, login to view] for Zen Cart). If they do not pass authentication, a fault must be returned to the client.
All access to the Zen Cart database should use the underlying Zen Cart APIs. For example, $db variables and zen_db_xxxx() functions.
All procedures must support error handling via a <fault> tag in the response.
The implementation should be kept simple (ideally a single file, perhaps a couple), but modularised so that additional procedures can easily be added.
Use of an existing (open source, or otherwise) library to provide the supporting XML RPC functionality is acceptable, however, it must have a suitable license for commercial use (eg. GPL and LGPL is not acceptable). Please contact me with the proposed license if this is what you are planning.
7 freelancers are bidding on average $219 for this job
Hello sir, We are a web development company and we have a dedicated team of expert designers &developers having skills in web technologies and application developments. Thanks, mun