This article includes a list of references, but its sources remain unclear because it has insufficient inline citations. (September 2009) (Learn how and when to remove this template message)
WDDX (Web Distributed Data eXchange) is a programming language-, platform- and transport-neutral data interchange mechanism designed to pass data between different environments and different computers.
WDDX and XML-RPC, both created in 1998, were the precursors to SOAP and Web services. SOAP borrows the envelope/header/body structure and the transport + interaction neutrality from WDDX and the HTTP and RPC bindings from XML-RPC.
WDDX is functionally comparable to XML-RPC and WIDL. The specification supports simple data types such as number, string, boolean, etc., and complex aggregates of these in forms such as structures, arrays and recordsets (row/column data, typically coming from database queries). There are WDDX interfaces for a wide variety of languages, including ColdFusion, Ruby, Python, PHP, Java, C++, .NET, Actionscript, lisp, Haskell, Perl.
Example: (from php.net/wddx)
<wddxPacket version='1.0'> <header comment='PHP'/> <data> <struct> <var name='pi'> <number>3.1415926</number> </var> <var name='cities'> <array length='3'> <string>Austin</string> <string>Novato</string> <string>Seattle</string> </array> </var> </struct> </data> </wddxPacket>
Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.