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:
  #1  
Old September 2nd, 2003, 11:54 AM
mikejohnson mikejohnson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 mikejohnson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
remote xml files

i'm trying to load a remote xml file, URL in order to modify it to show nicely on my website. however, i get a access denied error when i try to load it. what's the best way to get this done? i'd prefer not having to instal any 3rd party components.........

thanks,
mike

Reply With Quote
  #2  
Old September 2nd, 2003, 02:12 PM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 22 sec
Reputation Power: 6
Send a message via AIM to unatratnag
I'm not having any problems at all loading this document with DOM, which specifcation are you using?
Code:
var objDOM;
objDOM = new ActiveXObject("MSXML.DOMDocument");
objDOM.async=false;
objDOM.load("http://xoap.weather.com/weather/local/57106?
dayf=5&prod=xoap&par=1002440194&key=f7716fcde1ea8ebe,");

Reply With Quote
  #3  
Old September 2nd, 2003, 02:18 PM
mikejohnson mikejohnson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 mikejohnson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i'm using asp, what are you using? javascript?

Reply With Quote
  #4  
Old September 2nd, 2003, 05:24 PM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 22 sec
Reputation Power: 6
Send a message via AIM to unatratnag
ASP is a technology, not a language.

I assume you're using a third party component already, it just came preinstalled.

I'm using client side javascript but you can use javascript serverside with <% %> too.

I assume you're using DOM then since you didn't state otherwise?

Perhaps lets see your code to see what the error is?

Both run as IUSR_machinename so it shouldn't be the difference in serverside or clientside.

Reply With Quote
  #5  
Old April 15th, 2004, 08:48 AM
websanjukn websanjukn is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 websanjukn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I also have the same problem reading RSS Feed

I am also using same Link for reading xml data through ASP.This perticular file is not loading.I am using server side vbscrpit for coding in asp.My code snipet is giving below

******************************************
Response.ContentType = "text/xml"
Dim objSXH2
Set objSXH2 = Server.CreateObject("MSXML2.ServerXMLHTTP")
objSXH2.open "GET", strWeather, True
objSXH2.send

If objSXH2.status = 200 Then

Set xmlESPN = Server.CreateObject("MSXML2.FreeThreadedDOMDocument.3.0")
xmlESPN.async = False
xmlESPN.validateOnParse = False
xmlESPN.resolveExternals = False
Set xmlESPN = objSXH2.responseXML
End if
Response.Write xmlESPN.xml

*******************************************
The XML file is not loading in the "xmlESPN" object.

can any one help me out In this problem?

Thanks in advance
Sanjukn

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > remote xml files


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
Stay green...Green IT