XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 25th, 2002, 02:10 PM
bigsean bigsean is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 1 bigsean User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Trouble with XML-RPC with ASP

Hi all!

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
Dim paramList(1)
paramList(0)="sean"

' 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>")
else
response.write(myresp)
end if
%>

Any ideas on what's wrong? Any more code you need to see?

Thanks very much!

Sean

Reply With Quote
  #2  
Old July 29th, 2002, 04:59 PM
reemjacob reemjacob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 8 reemjacob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi I guess this reply is too late and u might have already found the solution. But just in case!

My guess is that when the function xmlRPC is being called it tries to create the MSXML2.ServerXMLHTTP, i.e the createObject function in the '<!--#include file="xmlrpc.asp" -->' but fails.

It usually occurs if the MSXML2 dll is not installed on the server.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Trouble with XML-RPC with ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway