Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XMLRPC API Question
05-13-2016, 06:31 PM
Post: #1
XMLRPC API Question
Hi everyone, we've implemented weberp in our organisation for many years now, and have decided to use the api.
Mainly for creating invoices.
Is anyone here using the api, any gotchas to look out for, also, is there any talk of a restfull API in the works?

Regards
Find all posts by this user
Quote this message in a reply
05-13-2016, 06:43 PM
Post: #2
RE: XMLRPC API Question
The way I designed the api makes it very easy for anybody to add a new protocol, it was just that I have been a big fan of xmlrpc practically from it's inception.

I have used the api a lot, and I would say It's main weakness is in catching errors and returning the correct error code, before they are sent back to the client. I tried to re-use as much of the actual webERP code in the design as I could, but this means that sometimes an html error message is returned which the client tries to interpret as correctly formed xml, fails and spouts a strange error message. This means that debugging errors can be a bit of a black art.

Otherwise it is fine Smile

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
05-13-2016, 07:43 PM
Post: #3
RE: XMLRPC API Question
Thanks for the reply,
We are big fans of JSON restfull APIs, if we develop such an api layer, which will basically just encapsulate the current functionality you have already, would it be a possibility that it could be rolled into and maintained with the current code base, or will it be something we need to do an maintain on our own.
I'm sure others here also prefer RESTFULL over xmlrpc

Regards
Find all posts by this user
Quote this message in a reply
05-13-2016, 08:54 PM
Post: #4
RE: XMLRPC API Question
I can't see why it wouldn't be rolled into the current code base, but it isn't my decision any more.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
05-14-2016, 12:31 PM
Post: #5
RE: XMLRPC API Question
I don't understand the differences.. but why not!

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)