Created
August 13, 2008 17:43
-
-
Save atifaziz/5275 to your computer and use it in GitHub Desktop.
JsonRpcProxyGenerator.Generate demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clr | |
clr.AddReferenceToFileAndPath(r'C:\Jayrock\bin\Release\Jayrock.dll') | |
from Jayrock.JsonRpc import * | |
from Jayrock.JsonRpc.Web import * | |
from System import Uri, Console | |
class MyService(JsonRpcService): | |
pass | |
clazz = MyService().GetClass() | |
url = Uri('http://www.example.com') | |
JsonRpcProxyGenerator.Generate(clazz, url, Console.Out) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment