« Previous Next »

Thread: forwarding ap post request

Last post 08-11-2009 3:58 PM by davcox. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-29-2009, 4:04 AM

    forwarding ap post request

    Hi, I have a client.exe who post a xml to a given url, p.e. www.example.com/ws/dosome.asp. The dosome.asp response with a modified XML. Now i've rewritten the dosome.asp as a ISAP Extension (dosome.dll). I want now forwarding the xml Posted to www.example.com/ws/dosome.asp to www.example.com/ws/extensions/dosome.dll an versa. How that could be done?
  • 08-11-2009, 3:58 PM In reply to

    • davcox
    • Top 50 Contributor
    • Joined on 07-21-2006, 2:28 PM
    • Redmond
    • Posts 213

    Re: forwarding ap post request

    If you need POST's to the asp script to re-POST to the ISAPI, then you'll have to load a web client in your ASP code (create a COM object that does http requests such as XMLHttpRequest http://en.wikipedia.org/wiki/XMLHttpRequest ) re-constitute the request and send it to the ISAPI; this isn't trivial but it certainly can be done.  

    You can also do Redirection for GET requests to go to the new location (but I don't think that's what you're looking for). 

    Dave

Page 1 of 1 (2 items)
Microsoft Communities