HomeCommunityControl GalleryHttp RuntimeHttp HandlersXML-RPC Library for .NET

XML-RPC Library for .NET



Submit a Review

1,410 Downloads

27,102 Views


Description

Handles XML-RPC requests for both a client or a server, just like SOAP. Even has a user-browsable web interface.

Syntax Example

[XmlRpcServiceAttribute("funky test service")] public class TestService : XmlRpcService { [XmlRpcMethod("TestService.Add", Description = "This is a test", InfoUrl = "http://www.jondavis.net/")] public int Add(int i1, int i2) { return i1+i2; } [XmlRpcMethod("TestService.DemoStruct")] public XmlRpcStruct DemoStruct() { Hashtable s = new Hashtable(); s.Add("name1", null); s.Add("name2", null); s["name1"] = "val1"; s["name2"] = "val2"; return new XmlRpcStruct(s); } [XmlRpcMethod("TestService.CustomStruct")] public structobject CustomStruct() { return new structobject(); } }

Screenshots

Reviews

Submit a review