r17 - 24 Oct 2006 - 23:23:39 - PeterThoenyYou are here: TWiki >  Plugins Web > SoapClientPlugin
Tags:
import 1 Add my vote for this tag, search 1 Add my vote for this tag, web_services 1 Add my vote for this tag, xml 1 Add my vote for this tag, , create new tag

SoapClientPlugin

This plugin will provide a TWiki Topic interface to SOAP::Lite calls (a la TWiki:Codev/TWikiAsWebServicesClient).

It will cause the rendering of the topic to be as slow as the internet request - so its probably best to do on a local machine only.

Syntax Rules

  • the service parameter specifies the WSDL interface
  • call is the Soap method with parameters (will need to add quotes soon)
  • format like SEARCH
    • $list_element assumes the answer is an array of strings
    • and $struct(name) assumes the answer is a struct (with member variable of name)

Examples

Examples using the TWiki:Codev/GForgeSoapInterface - http://gforge.org/soap/index.php

  • %SOAP{service="http://gforge.org/soap/index.php" call="getPublicProjectNames()" format=" * Group: $list_element $n"}%
%SOAP{service="http://gforge.org/soap/index.php" call="getPublicProjectNames()" format=" * Group: $list_element $n"}%

SoapClientPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Provides a TWiki Topic interface to SOAP::Lite calls

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • install SOAP::Lite from CPAN
  • Unzip SoapClientPlugin.zip in your twiki installation directory. Content: File:Description:data/TWiki/SoapClientPlugin.txt Plugin topic data/TWiki/SoapClientPlugin.txt,v Plugin topic repository lib/TWiki/Plugins/SoapClientPlugin.pm Plugin Perl module
  • use the configure script to enable

Plugin Info

Plugin Author: TWiki:Main/SvenDowideit - http://www.wikiring.com
Plugin Version: 24 July 2006 (V1.100)
Change History:  
24 July 2006: fix docco to reflect the changed example (GForge changed the wsdl), tested on TWiki4.0
19 Sep 2003: Initial version
CPAN Dependencies: SOAP::Lite (and its dependancies)
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/SoapClientPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SoapClientPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/SvenDowideit

Topic attachments
I Attachment Action Size Date Who Comment
elsemd5 SoapClientPlugin.md5 manage 0.2 K 25 Jul 2006 - 06:53 SvenDowideit md5 checksums
ziptgz SoapClientPlugin.tgz manage 13.0 K 25 Jul 2006 - 06:52 SvenDowideit Untar and run the installer script, if there is one
zipzip SoapClientPlugin.zip manage 14.4 K 25 Jul 2006 - 06:52 SvenDowideit Unzip and run the installer script, if there is one
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r17 < r16 < r15 < r14 < r13 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo