Difference between revisions of "Xebra XML RPC"

(demo.xrpc)
(demo.xrpc)
Line 5: Line 5:
  
 
===demo.xrpc===
 
===demo.xrpc===
<code>
+
<xml>
<xrpc:xrpc api="MY_XMLRPC" namespace="math">
+
<xrpc:api class="MY_XMLRPC" namespace="math">
   <xeb:xrpc method="sum" />
+
   <xrpc:method name="sum" />
   <xeb:xrpc method="product" />
+
   <xrpc:method name="product" />
</xeb:xrpc>
+
</xrpc:api>
</code>
+
</xml>
  
 
===g_demo_servlet.e===
 
===g_demo_servlet.e===

Revision as of 10:18, 1 July 2009

How it works

The file demo.xrpc is translated into g_demo_servlet.e.


demo.xrpc

<xrpc:api class="MY_XMLRPC" namespace="math">
  <xrpc:method name="sum" />
  <xrpc:method name="product" />
</xrpc:api>

g_demo_servlet.e

...