ASP proxy script
Hej Eksperter,1. Jeg skal have modificeret dette script sådan at det kalder en webservice - altså ikke bare en statisk XML fil.
Script:
<%@ LANGUAGE=VBScript%>
<%
Response.Buffer=True
Dim MyConnection, TheURL
' Specifying the URL
TheURL = "http://www.macromedia.com/desdev/resources/macromedia_resources.xml"
Set MyConnection = Server.CreateObject("Microsoft.XMLHTTP")
' Connecting to the URL
MyConnection.Open "GET", TheURL, False
' Sending and getting data
MyConnection.Send
TheData = MyConnection.responseText
'Set the appropriate content type
Response.ContentType = MyConnection.getResponseHeader("Content-Type")
Response.Write (TheData)
Set MyConnection = Nothing
%>
2. Jeg skal have sat IIS server op på min Win XP så jeg kan kører scriptet.
Hjælp...