Difference between revisions of "SOAP"

From Ethersex_Wiki
Jump to: navigation, search
Line 33: Line 33:
 
The following script can be used as a starting point for your own SOAP requests.
 
The following script can be used as a starting point for your own SOAP requests.
  
* [https://github.com/ethersex/ethersex-tools/blob/master/prot/onewire/onewire_request.php Perl]
+
* [https://github.com/ethersex/ethersex-tools/blob/master/protocols/soap/soap_request.pl Perl]
  
 
== Links ==
 
== Links ==

Revision as of 11:53, 5 May 2014

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

Ethersex supports the SOAP protocol over HTTP, which allows for easier communication of Ethersex with programs of any kind. The functions can be used directly in the program code with SOAP.

Configuration

First, the protocol needs to be enabled, and then the support for it in the embedded web server.

 | |     Protocols  --->                                                  | |
 ...
 | |         [*] SOAP (XML RPC)                                           | |
 
 
 | |     Applications  --->                                               | |
 ...
 | |         [*] HTTP Server  --->                                        | |    
 ...
 | |             [*] SOAP backend                                         | |
  

Client Code

The following script can be used as a starting point for your own SOAP requests.

Links

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

Quick Start with SOAP