| Author |
|
| Company |
JD Solutions |
| Source Code Available |
Yes |
| License Type |
Free |
| Submitted On |
February 02, 2003 |
| Updated on |
July 25, 2007 |
| .NET Framework |
1.x |
| Cost |
$ 0 |
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