V
vunet
Hello,
I've just installed ASPXMLRPC library and testing their main function:
xmlRPC ("URL", "command_name", params)
The function converts all parameters to XML, sends a request to third-
party server and receives XML response. It seems to be getting
response fine. But when I call the function like this:
myresp = xmlRPC ("http://someurl.com", "get", paramList)
I get error on this line:
"Wrong number of arguments or invalid property assignment"
All code details are:
dim myresp
ReDim paramList(1)
set dict=Server.createObject("Scripting.Dictionary")
dict.add "key_id", "SOME_ID"
dict.add "area", "blah"
set paramList(0)=dict
myresp = xmlRPC ("http://someurl.com", "get", paramList)
response.write(myresp)
Please recommend a fix. Thank you.
I've just installed ASPXMLRPC library and testing their main function:
xmlRPC ("URL", "command_name", params)
The function converts all parameters to XML, sends a request to third-
party server and receives XML response. It seems to be getting
response fine. But when I call the function like this:
myresp = xmlRPC ("http://someurl.com", "get", paramList)
I get error on this line:
"Wrong number of arguments or invalid property assignment"
All code details are:
dim myresp
ReDim paramList(1)
set dict=Server.createObject("Scripting.Dictionary")
dict.add "key_id", "SOME_ID"
dict.add "area", "blah"
set paramList(0)=dict
myresp = xmlRPC ("http://someurl.com", "get", paramList)
response.write(myresp)
Please recommend a fix. Thank you.