Difference between revisions of "SOAP"

From Ethersex_Wiki
Jump to: navigation, search
(Created page with "{{i18n|SOAP}} {{Module |NAME=SOAP |MENUCONFIG={{Protocols}}->SOAP (XML RPC) |STATUS={{stable}} |PINNING=no |ECMD=no |DEPENDS= |REQUIRES= |CODE=[https://github.com/ethersex/eth...")
 
Line 11: Line 11:
 
}}
 
}}
  
== Usage ==
+
== Configuration ==
 
 
<source lang="perl">
 
#!/usr/bin/perl -w
 
 
 
use strict;
 
use SOAP::Lite;
 
 
 
my $soap = SOAP::Lite
 
    -> uri('http://ethersex.de/SOAP')
 
    -> proxy('http://192.168.22.130/soap');
 
 
 
my $whm = $soap->whm();
 
 
 
print "Aktuelle Uptime des Ethersex: ", $whm, "\n";
 
 
 
my $time = $soap->time();
 
 
 
print "Aktuelle Systemzeit (Unix-Timestamp): ", $time, "\n";
 
</source>
 
 
 
  
 
== Links ==
 
== Links ==

Revision as of 19:36, 4 May 2014

SOAP
Status
Stable
menuconfig Protocols->SOAP (XML RPC)
Pinning no
Ecmd no
Code https://github.com/ethersex/ethersex/tree/master/protocols/soap

Configuration

Links

CPAN SOAP::Lite - Perl's Web Services Toolkit

Quick Start with SOAP