hi there,
i'm trying to connect a python server to vb.net using xmlrpc. i've read all the xmlrpc.net materials in http://www.xml-rpc.net/ but i dun reli understand how xmlrpc.net works (i'm a noob in programming :) ) i'm given this xmlrpc server code in python and i wish to connect it to vb.net.
import sys
import ConceptNetDB
import DocXMLRPCServer
config_filename = 'ConceptNet.ini'
if len(sys.argv)>0 and sys.argv[-1][-1*len('.py'):].lower()!='.py':
config_filename = sys.argv[-1]
print "Syntax: python ConceptNetXMLRPCServer.py [configuration_file]"
print "Determining which knowledge libraries to load from %s..."%config_filename
c =ConceptNetDB.ConceptNetDB(None,config_filename)
print "Starting XML-RPC Server"
port = 8000
xmlrpc = DocXMLRPCServer.DocXMLRPCServer(('',port))
print "Now serving on localhost port %s!"%str(port)
xmlrpc.register_introspection_functions()
xmlrpc.register_instance(c.nltools)
xmlrpc.register_function(c.get_context)
xmlrpc.register_function(c.get_analogous_concepts)
xmlrpc.register_function(c.get_all_projections)
xmlrpc.register_function(c.project_affective)
xmlrpc.register_function(c.project_consequences)
xmlrpc.register_function(c.project_details)
xmlrpc.register_function(c.project_spatial)
xmlrpc.serve_forever()
can someone explain to me how can i do dat in layman's term? :)
thank u very much:)