July 25th, 2002, 03:10 PM
Join Date: Jul 2002
Time spent in forums: < 1 sec
Reputation Power: 0
Trouble with XML-RPC with ASP
I'm a new guy around here, so I hope I don't stomp on any rules.
I've gotten XML-RPC working with Perl using Frontier::Client and Frontier::Responder, but I haven't been able to get either clients or servers to work in ASP.
Using the error handling code from URL I get the request out ok, but no response from the server. Only this from the error code:
Error number: 999
Error description: Object required
That seems to be the problem whether I'm calling my own ASP server or one on Userland.com. Also, calling an ASP server from Perl doesn't seem to work, either. I've boiled the code down to the barest of essentials, I think:
<!--#include file="xmlrpc.asp" -->
on error resume next
' WHAT AM I SENDING TO THE SERVER
Response.write("<pre>" & Replace(functionToXML("helloWorld", paramList), "<", "<", 1, -1, 1) & "</pre>")
myresp = xmlRPC ("http://172.16.126.104/seantest/testserver.asp", "helloWorld", paramList)
response.write(myresp & "<p>")
' WHAT AM I GETTING FROM THE SERVER
response.write("<pre>" & Replace(serverResponseText, "<", "<", 1, -1, 1) & "</pre>")
if err.number <>0 then
response.write("Error number: " & err.number & "<P>")
response.write("Error description: " & err.description & "<P>")
Any ideas on what's wrong? Any more code you need to see?
Thanks very much!