<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ko goma&#039;s Blog</title>
	<atom:link href="http://kgoma.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kgoma.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 18 Oct 2009 18:03:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kgoma.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ko goma&#039;s Blog</title>
		<link>http://kgoma.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kgoma.wordpress.com/osd.xml" title="Ko goma&#039;s Blog" />
	<atom:link rel='hub' href='http://kgoma.wordpress.com/?pushpress=hub'/>
		<item>
		<title>xml-rpc.net api</title>
		<link>http://kgoma.wordpress.com/2009/10/18/xml-rpc-net-api/</link>
		<comments>http://kgoma.wordpress.com/2009/10/18/xml-rpc-net-api/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:49:26 +0000</pubDate>
		<dc:creator>kgoma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kgoma.wordpress.com/?p=5</guid>
		<description><![CDATA[Writing an XML-RPC client in .net/C# with the excellent xml-rpc.net library i &#8216;ve got an issue, trying to supply authentication credential. I have follow step by step the tutorial available here : http://xml-rpc.net/faq/xmlrpcnetfaq.html#2.5 using CookComputing.XmlRpc; public struct SumAndDiffValue { public int sum; public int difference; } [XmlRpcUrl("http://www.cookcomputing.com/sumAndDiff.rem")] public interface ISumAndDiff : IXmlRpcProxy { [XmlRpcMethod] SumAndDiffValue SumAndDifference(int [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kgoma.wordpress.com&amp;blog=9083814&amp;post=5&amp;subd=kgoma&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="background-color:#ffffff;">Writing an XML-RPC client in .net/C# with the excellent xml-rpc.net library i &#8216;ve got an issue, trying to supply authentication credential.</span></p>
<p><span style="background-color:#ffffff;">I have follow step by step the tutorial available here : <a href="http://xml-rpc.net/faq/xmlrpcnetfaq.html#2.5">http://xml-rpc.net/faq/xmlrpcnetfaq.html#2.5</a></span></p>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;font-family:monospace, arial, verdana;font-size:10px;color:black;background-image:initial;background-attachment:initial;background-color:#d9e3e9;border:1px solid black;padding:5px;">using CookComputing.XmlRpc;

public struct SumAndDiffValue
{
  public int sum;
  public int difference;
}

[XmlRpcUrl("http://www.cookcomputing.com/sumAndDiff.rem")]
public interface ISumAndDiff : IXmlRpcProxy
{
  [XmlRpcMethod]
  SumAndDiffValue SumAndDifference(int x, int y);
}</pre>
<h3 style="font-size:11px;font-family:verdana, arial, sans-serif;"></h3>
<h3 style="font-size:11px;font-family:verdana, arial, sans-serif;">2.5 How do I supply authentication credentials?</h3>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;font-family:monospace, arial, verdana;font-size:10px;color:black;background-image:initial;background-attachment:initial;background-color:#d9e3e9;border:1px solid black;padding:5px;">ISumAndDiff proxy = (ISumAndDiff)XmlRpcProxyGen.Create(typeof(ISumAndDiff));
proxy.Credentials = new NetworkCredential("jsmith","password");
SumAndDiffValue ret = proxy.SumAndDifference(2, 3);</pre>
<pre style="font-family:monospace, arial, verdana;font-size:10px;color:black;background-image:initial;background-attachment:initial;background-color:#d9e3e9;background-position:initial initial;background-repeat:initial initial;border:1px solid black;padding:5px;">SumAndDiffValue ret = proxy.SumAndDifference(2, 3);</pre>
<p>For a unknown reason doing the same thing in my api it doest not work.</p>
<p>The  server response was:</p>
<p>&#8220;This Web service require a valid user with grant access &#8230;  &#8221;</p>
<p>==&gt;  i did not supply properly the authentication and credential; therefore i add this :</p>
<p><span style="background-color:#ffffff;"></p>
<p></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kgoma.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kgoma.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kgoma.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kgoma.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kgoma.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kgoma.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kgoma.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kgoma.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kgoma.wordpress.com&amp;blog=9083814&amp;post=5&amp;subd=kgoma&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kgoma.wordpress.com/2009/10/18/xml-rpc-net-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c5545cede9f88423af72b7bafac337f8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kgoma</media:title>
		</media:content>
	</item>
		<item>
		<title>XML-RPC API</title>
		<link>http://kgoma.wordpress.com/2009/08/19/hello-world/</link>
		<comments>http://kgoma.wordpress.com/2009/08/19/hello-world/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 22:07:49 +0000</pubDate>
		<dc:creator>kgoma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[web service]]></category>
		<category><![CDATA[xml-rpc]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[XML-RPC is a&#160;remote procedure call protocol which uses&#160;XML to encode its calls and&#160;HTTP as a transport mechanism. For more details see: [1]&#160;http://en.wikipedia.org/wiki/XML-RPC In this document, I &#160;will describes how to create a xml-rpc client using some popular programing language. Server details:&#160; &#160;Suppose i have a XML-RPC server that expose a Web Method call: &#160;WMethod.CreateUser. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kgoma.wordpress.com&amp;blog=9083814&amp;post=1&amp;subd=kgoma&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight:bold;" class="Apple-style-span">XML-RPC</span> is a&nbsp;<a style="text-decoration:none;color:#002bb8;background-image:none;background-attachment:initial;background-color:initial;background-position:initial initial;background-repeat:initial initial;" title="Remote procedure call" href="http://en.wikipedia.org/wiki/Remote_procedure_call">remote procedure call</a> protocol which uses&nbsp;<a style="text-decoration:none;color:#002bb8;background-image:none;background-attachment:initial;background-color:initial;background-position:initial initial;background-repeat:initial initial;" title="XML" href="http://en.wikipedia.org/wiki/XML">XML</a> to encode its calls and&nbsp;<a style="text-decoration:none;color:#002bb8;background-image:none;background-attachment:initial;background-color:initial;background-position:initial initial;background-repeat:initial initial;" title="HTTP" href="http://en.wikipedia.org/wiki/HTTP">HTTP</a> as a transport mechanism.</p>
<p>For more details see:</p>
<p>[1]&nbsp;<a href="http://en.wikipedia.org/wiki/XML-RPC">http://en.wikipedia.org/wiki/XML-RPC</a></p>
<p>In this document, I &nbsp;will describes how to create a xml-rpc client using some popular programing language.</p>
<ol>
<li><span class="Apple-style-span" style="background-color:rgb(255,255,255);">Server details:&nbsp;</span></li>
</ol>
<p>&nbsp;<span class="Apple-style-span" style="background-color:rgb(255,255,255);">Suppose i have a XML-RPC server that expose a Web Method call: &nbsp;WMethod.CreateUser. This web method require&nbsp;parameters (firstname, lastname, email, login) and returns the user&#8217;s login created<span class="Apple-style-span" style="background-color:rgb(255,255,255);">:</span></span></p>
<p><span class="Apple-style-span" style="background-color:rgb(255,255,255);">IN: string firstname, &nbsp;string lastname, &nbsp;string email, string login</span></p>
<p>OUT: string login</p>
<ol>
<li></li>
</ol>
<p></p>
<p><img src="http://kgoma.wordpress.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" class="mceWPmore mceItemNoResize" title="More..."><img src="http://kgoma.wordpress.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" class="mceWPmore mceItemNoResize" title="More..."></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kgoma.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kgoma.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kgoma.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kgoma.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kgoma.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kgoma.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kgoma.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kgoma.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kgoma.wordpress.com&amp;blog=9083814&amp;post=1&amp;subd=kgoma&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kgoma.wordpress.com/2009/08/19/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c5545cede9f88423af72b7bafac337f8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kgoma</media:title>
		</media:content>

		<media:content url="http://kgoma.wordpress.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" medium="image">
			<media:title type="html">More...</media:title>
		</media:content>

		<media:content url="http://kgoma.wordpress.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" medium="image">
			<media:title type="html">More...</media:title>
		</media:content>
	</item>
	</channel>
</rss>
