Results 1 to 4 of 4

Thread: XMLHTTP Equiv?

  1. #1

    Thread Starter
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    XMLHTTP Equiv?

    In ASP 3.0, I would sometimes post information to a remote Web page (on the server), receive the response, parse it and then take appropriate action.

    I used the ServerXMLHTTP object at the time. I am willing to use that object again if I have to, but I was wondering if there was a better object or function I could use that perhaps VB.Net might have had native.

    The remote page takes query string parameters and returns an XML response, just FYI.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  2. #2

    Thread Starter
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    Found one:
    Code:
            Dim theString As String
            Dim objXML As New System.Xml.XmlDocument()
            objXML.Load("http://server/path/default.asp")
            Response.Write(objXML.SelectSingleNode("/loginsystem/error").InnerText())
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126
    So this was kind of like a webservice?
    "All those who wonder are not lost" -j.r.r tolkien

  4. #4

    Thread Starter
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    I dont understand your question.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width