I need an efficient protocol between webservices that are more or less supported by all major langua

Posted by corgrath on Stack Overflow See other posts from Stack Overflow or by corgrath
Published on 2010-05-14T12:56:42Z Indexed on 2010/05/14 13:34 UTC
Read the original article Hit count: 220

Filed under:
|
|
|

Hey all.

I am looking for a fast and efficient protocol that can be used between different web services to send text-data (not binary data). Doesn't matter if the protocol is binary or text base.

Some conditions:

  • I has to be more "efficient" than normal XML which adds a lot of extra data and the tools to read/write is too heavy

  • It has to be "supported" by most major languages, meaning it cannot only be available for one specific language. At the moment, both Java and PHP have to be able to talk to each other using this protocol.

I have already looked at:

  • XML - which I am currently using.
  • Hessian 2 -which works perfectly in Java, but the PHP-support is out of date
  • JSON -the different between JSON and XML is only minor

Any suggestions are welcome!

© Stack Overflow or respective owner

Related posts about web-services

Related posts about protocol