Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xmlrpc with javascript

Status
Not open for further replies.

cyclopsvs

Programmer
Feb 21, 2007
7
0
0
NL
Hello javascript users,

I recently started building a large web application in python.
In order to get erroneous data from the client side i created a secure xmlrpc server that handles the submitted data.

I know for sure this server works correctly because with a client side written in python the extracted values are correct. The problem i'm experiencing is that i just don't have the know how to transfer this code into javascript code

i'll post the python code below hope someone can help me convert this to javascript code.

import xmlrpclib

server = xmlrpclib.Server(' # a server object is created
print server.add(1,2)
print server.div(10,4)
print server.mult(3,7)

this is a very basic example where 3 methods are created in the server add / div and mult. These methods all need 2 variables to calculate the result.

thanks in advance for your help,

regards,

richard mendes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top