From GNUstepWiki
Revision as of 11:06, 26 June 2011 by Buzzdee (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article or section is a stub (i.e., in need of additional material).
You can help us by expanding it

Framework for a GNUstep program to interact with web services

Current Version: 0.5.3

  • Released: Jun 26, 2010
  • Licensed: LGPL


The WebServices library contains a collection of classes to be used for creating client and server 'web service' applications. It is also useful for general XML work as the API that is particularly simple and efficient.

The GWSService class is used to make RPCs as a client. This class makes use of GWSCoder classes to serialize the request before sending it to the remote system, and to deserialize the response received.

Different GWSCoder sublasses handle different encoding mechanisms, and this library provides one for XMLRPC (because it's a nice, simple mechanism good for most normal applications), and one for SOAP (because, while it's a horrible, bloated, designed-by-comittee mechanism, it's also the most common one by far and the standard one for web services).

The GWSCoder base class provides support for decoding an XML document to a tree of GWSElement objects, and encoding a tree of GWSElement objects to form an XML document.

The GWSElement class represents an element in an XML document and provides a concise set of methods for locating and manipulating the elements within a tree representing the entire document.

The remaining classes in the library provide support for WSDL, allowing a WSDL document to be parsed, and SOAP calls to be made to a service described in the WSDL, with binding information from the WSDL used to build the calls from a minimal set of parameters.


  • Easy/simple ObjectiveC API for parsing/generating XML documents, XMLRPC and SOAP remote procedure call support, WSDL support, GNUstep and OSX


Richard Frith-Macdonald

Related Links