<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[xmlrpc-call ausführen]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich versuche mit der XMLRPC-Komponente von J.Stärk (<a href="http://www.usegroup.de/software/xmlrpc/" rel="nofollow">http://www.usegroup.de/software/xmlrpc/</a>) einen relativ simplen XMLRPC-Call zu tätigen.</p>
<pre><code>XMLRPCClient1-&gt;Host = &quot;192.168.1.1&quot;;
        XMLRPCClient1-&gt;URL = &quot;/cgi-bin/rpc&quot;;
        XMLRPCClient1-&gt;MethodName = &quot;preis&quot;;

        TFunction *Parameter = new TFunction();

        Parameter-&gt;AddParam(????);

        TResult *Result = XMLRPCClient1-&gt;Execute(Parameter);
        if (Result-&gt;IsError())
        {
                ShowMessage(&quot;Error: &quot; + Result-&gt;GetErrorString());
        }
        else
        {
                ShowMessage(Result-&gt;GetString());
        }
</code></pre>
<p>Das Problem ist das AddParam(). Es sollen die Parameter &quot;Wurst&quot; und &quot;0.99&quot; übergeben werden.</p>
<p>Wie muß das aussehen? Aus der Original-Doku werden ich in diesem Punkt überhaupt nicht schlau.</p>
<pre><code>-Drop a TXMLRPCClient on your form, enter the host, the port and the name of the method to 
   call, the name of the server with it's director (in URL, e.g. /test/myserver.php).
   The form has to be a CLX (say: NOT a VCL-) form
  -use yourcomponentname-&gt;Execute with a TFunction*-argument that stores the parameters,
   e.g.
       TFunction *myparams=new TFunction();
       myparams-&gt;AddParam(6);
       TResult *myresult=XMLRPCClient1-&gt;Execute(myparams);
       char buf[80];
       sprintf(buf,&quot;result is: %i&quot;, myresult-&gt;GetInteger());
       ShowMessage(buf);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/192974/xmlrpc-call-ausführen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 22:49:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192974.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Sep 2007 15:28:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to xmlrpc-call ausführen on Thu, 20 Sep 2007 15:28:48 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich versuche mit der XMLRPC-Komponente von J.Stärk (<a href="http://www.usegroup.de/software/xmlrpc/" rel="nofollow">http://www.usegroup.de/software/xmlrpc/</a>) einen relativ simplen XMLRPC-Call zu tätigen.</p>
<pre><code>XMLRPCClient1-&gt;Host = &quot;192.168.1.1&quot;;
        XMLRPCClient1-&gt;URL = &quot;/cgi-bin/rpc&quot;;
        XMLRPCClient1-&gt;MethodName = &quot;preis&quot;;

        TFunction *Parameter = new TFunction();

        Parameter-&gt;AddParam(????);

        TResult *Result = XMLRPCClient1-&gt;Execute(Parameter);
        if (Result-&gt;IsError())
        {
                ShowMessage(&quot;Error: &quot; + Result-&gt;GetErrorString());
        }
        else
        {
                ShowMessage(Result-&gt;GetString());
        }
</code></pre>
<p>Das Problem ist das AddParam(). Es sollen die Parameter &quot;Wurst&quot; und &quot;0.99&quot; übergeben werden.</p>
<p>Wie muß das aussehen? Aus der Original-Doku werden ich in diesem Punkt überhaupt nicht schlau.</p>
<pre><code>-Drop a TXMLRPCClient on your form, enter the host, the port and the name of the method to 
   call, the name of the server with it's director (in URL, e.g. /test/myserver.php).
   The form has to be a CLX (say: NOT a VCL-) form
  -use yourcomponentname-&gt;Execute with a TFunction*-argument that stores the parameters,
   e.g.
       TFunction *myparams=new TFunction();
       myparams-&gt;AddParam(6);
       TResult *myresult=XMLRPCClient1-&gt;Execute(myparams);
       char buf[80];
       sprintf(buf,&quot;result is: %i&quot;, myresult-&gt;GetInteger());
       ShowMessage(buf);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1369455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1369455</guid><dc:creator><![CDATA[dondoedel0815]]></dc:creator><pubDate>Thu, 20 Sep 2007 15:28:48 GMT</pubDate></item></channel></rss>