Tags:
import1Add my vote for this tag search1Add my vote for this tag web_services1Add my vote for this tag xml1Add my vote for this tag create new tag
, view all tags

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 History Action Size Date Who Comment
Unknown file formatmd5 SoapClientPlugin.md5 r10 r9 r8 r7 r6 manage 0.2 K 2008-12-12 - 12:06 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz SoapClientPlugin.tgz r10 r9 r8 r7 r6 manage 7.3 K 2008-12-12 - 12:06 SopanShewale See SoapClientPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip SoapClientPlugin.zip r10 r9 r8 r7 r6 manage 8.9 K 2008-12-12 - 12:06 SopanShewale See SoapClientPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatEXT SoapClientPlugin_installer r2 r1 manage 3.5 K 2008-12-12 - 12:06 SopanShewale Installer Script, Uploaded as a part of Release Process
Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r20 - 2012-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.