this sample code work fine for me (you can try it in a workspace)<div><br></div><div><div>url := Url absoluteFromText: '<a href="http://xmlrpc-c.sourceforge.net/api/sample.php">http://xmlrpc-c.sourceforge.net/api/sample.php</a>'.</div>
<div>proxy := XMLRPCProxy new url: url.</div><div>r := proxy invokeMethod: 'sample.sumAndDifference' withArgs: #(5 3).</div></div><div><br></div><div>the result r should be</div><div><br></div><div>a Dictionary('difference'->2 'sum'->8 )</div>
<div><br></div><div>beware with some proxy between you and the xmlrpc server, i had to disable my proxy (and restart squeak) for this example to work.</div><div><br></div><div>Cheers</div><div><br></div><div>César.</div><div>
<br><div class="gmail_quote">On Thu, Sep 10, 2009 at 12:43 AM, Ching de la Serna <span dir="ltr"><<a href="mailto:ching.dls@gmail.com">ching.dls@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Cesar,<div><br></div><div>I loaded the package as you suggested. Just to be on the safe side, I loaded everything starting with <span style="font-family:Geneva;font-size:11px">XMLRPC-Server-maf.<span style="font-family:arial;font-size:13px">.10 and hit a snag on <span style="font-family:Geneva;font-size:11px">XMLRPC-Server-maf.<span style="font-family:arial;font-size:13px">13 but <span style="font-family:Geneva;font-size:11px">XMLRPC-Server-maf.14<span style="font-family:arial;font-size:13px"> loaded fine. </span></span></span></span></span></span></div>
<div><br></div><div>I am still trying to figure out how to use the package. I have this and hit an exception 'sayHello not found'. I checked my xmlrpc server and there is a function sayHello($args)</div><div><div>
<br></div><div><span style="white-space:pre">        </span>url _ Url absoluteFromText: '<a href="http://myBlog.com/xmlrpc.php" target="_blank">http://myBlog.com/xmlrpc.php</a>'.</div><div><span style="white-space:pre">        </span>proxy _ XMLRPCProxy new url: url.</div>
</div><div> r _ invokeMethod: 'sayHello' withArgs: #().</div><div><br></div><div>I am not sure as to the correct usage of the package. The closest thing I can think of to test the server is XMLRPCProxy >> invokeMethod. Am I doing it wrong?</div>
<div><br></div><div>Thanks,</div><div><br></div><font color="#888888"><div>Ching</div></font><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 11:09 AM, César Lesc <span dir="ltr"><<a href="mailto:cesar.smx@gmail.com" target="_blank">cesar.smx@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Ching, i recomend you to use the Monticello browser and download de latest version from squeaksource</div><div>
<br></div><div><span style="font-family:Geneva;font-size:11px"><a title="static project url" href="http://www.squeaksource.com/XMLRPC.html" style="color:rgb(54, 7, 132);text-decoration:none" target="_blank">http://www.squeaksource.com/XMLRPC.html</a></span><br>
</div><div><span style="font-family:Geneva;font-size:11px"><br></span></div><div><span style="font-family:Geneva;font-size:11px">XMLRPC-Server-maf.14 will be fine.</span></div>
<div><span style="font-family:Geneva;font-size:11px"><br></span></div><font color="#888888"><div><span style="font-family:Geneva;font-size:11px">César.</span></div></font><div><div></div><div><div><span style="font-family:Geneva;font-size:11px"><br>
</span></div><div><span style="font-family:Geneva;font-size:11px"><br></span></div><div><span style="font-family:Geneva;font-size:11px"><br></span></div><br><br><div class="gmail_quote">
On Wed, Sep 9, 2009 at 7:18 PM, Ching de la Serna <span dir="ltr"><<a href="mailto:ching.dls@gmail.com" target="_blank">ching.dls@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dave,<div><br></div><div>Thanks for the suggestion. I think it is time for me to get into the squeak-dev list.</div>
<div><br></div><div>Cheers,</div><div><br></div><div><font color="#888888">Ching</font><div><div></div><div><br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 8:08 AM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>On Wed, Sep 09, 2009 at 10:22:24PM +0800, Ching de la Serna wrote:<br>
> Hi all,<br>
> I'm not sure if this is the right mailing list but it is a newbie question<br>
> and I suppose it is safe to post it here. I am trying to understand xmlrpc<br>
> and I have loaded the classes that deal with this.<br>
><br>
> What I would like to accomplish is to post to my wordpress blog using xmlrpc<br>
> but there are no examples regarding this. Can anyone help out?<br>
<br>
</div></div>Hello Ching,<br>
<br>
I do not know the answer to your question, but I suggest that ask<br>
on the squeak-dev list. There are more people on that list who have<br>
experience with topics like this, and no one will mind if it is a<br>
newbie question :)<br>
<br>
Dave<br>
<div><div></div><div><br>
<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>