News

Still working on proper support for creating SOAP webservices with proper WSDL...

In the meantime, you get:

  • allow to register webservices methods with dots in their name
  • a new webservice: ezp.authandexec; it allows to authenticate and execute a 2nd webservice in a single call. Very useful for those ws clients that do not support session cookies
  • a new policy limitation on the webservices/execute view: per siteaccess

Lots of new features and 2 bug fixes in this new release:

  • added support for calling external services that require simple POST (a.k.a. html forms) to the template fetch function / ggeZWebservicesClient class
  • added a view to invoke webservices without the need of a specific controller file: /webservices/execute/$protocol (supported protocols are currently xmlrpc and jsonrpc)
  • permissions to execute - with limitation on single webservices - can be granted on that view
  • add support of exposing ezjscore webservices to xmlrpc/jsonrpc calls via that view
  • added the Y.io.jsonrpc javascript function for Yui 3 (in module 'io-jsonrpc') to ease execution of jsonrpc calls from the browser
  • moved javascript libraries to 'standard' design, so that they can be used for front-end interfaces too
  • added a cronjob to rotate logs of executed ws calls. By default added to infrequent set
  • upgrade the included phpxmlrpc lib to 3.0.0 beta, fixing all warnings with php 5.3
  • webservice server classes now catch exceptions raised by user-provided functions while handling invocation calls; use the server's $exception_handling member to finetune this behaviour
  • allow module view (and custom controllers too) to load all functions in soap/jsonrpc/xmlrpc dirs regardless of the incoming call's protocol. Set RegisterAllProtocolsFunctions=enabled to activate
  • fix: give a debuggable error message if soap extension is not enabled and user tries to create a ggPhpSOAPClient
  • fix: bad php constants where used by ggXMLRPCServer if invalid params where received

There have veen a couple of incompatible changes too - please read carefully the changelog before upgrade.

The new release boasts one big improvement: support for WSDL descriptions of remote soap services via usage of the php native SOAP extension!

The proxy module is now working and it has gained support for policy limitations on remote servers.

Other minor changes include future-proofing: naming conflicts with php 5.3 new reserved keywords have been fixed.

You can get it from: projects.ez.no/ggwebservices/downloads/gg_webservices_0_3/ggwebservices_0_3_zip

The complete changelog is available here: svn.projects.ez.no/ggwebservices/trunk/extension/ggwebservices/doc/changelogs/CHANGELOG-0.2-to-0.3

Main improvement in this release is the addition of a full graphical debugger GUI, that can be used to troubleshoot connections to local or remote xmlrpc / jsonrpc servers.

Support for connecting to remote servers via proxies has been improved, as well as https connections when no curl extension is available.

Last but not least, a couple of bugs have been fixed

The first release of the gg Webservices extension is available.

It allows to:

  1. expose php functions as xmlrpc or jsonrpc webservices, using the same API used for creating soap webservices in the stock eZ Publish
  2. call external xmlrpc, jsonrpc or rest webservices, from either php or template code

More to come in the future!