« Previous Next »

Thread: proxy server

Last post 03-09-2009 5:25 AM by bink1212. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-06-2009, 9:57 AM

    • bink1212
    • Not Ranked
    • Joined on 03-29-2006, 12:25 PM
    • Posts 2

    proxy server

    hi,

    im trying to use ARR to work as proxy/gateway server that will hide our internal application infrastructure from connecting clients and also serve as one access point to our applications from outside world

    my problem is, that i don't know if it's possible to use ARR or/and URL Rewriter to replace all url's in response content pointing to hidden servers with url pointing to proxy server

    the problem i have is WSDL from WCF web services, that contains url's to hidden servers and becouse of that is usless outside proxy/gateway

    i know that i could use external WSDL for my services that will contain url's to proxy server but i don't want to change existing services and applications to be aware of proxy server, instead i would prefer that the fact that some request are coming through proxy server will be transparent to existing services/applications 

    thx,

     

  • 03-06-2009, 12:58 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: proxy server

    It is not currently possible to change links in the response content.  This is being looked at for a future release of url-rewriter.

    Your service should however either create relative links or create links based on the host-header it receives - so if it receives internal host-header, the link is internal and if it receives external host-header, the link is external.  Hard-coding the link in your service code seems like a bad practice.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 03-09-2009, 5:25 AM In reply to

    • bink1212
    • Not Ranked
    • Joined on 03-29-2006, 12:25 PM
    • Posts 2

    Re: proxy server

    by default WCF services are using host address where they are deployed in all url's referencing them and it will be to much effort to change this default behavior :)

    so instead we decided to make WSDL internal (there will be not possibility to get it from outside the proxy) 

    anyway possibility to change urls in request/response contents sounds like a nice feature, although it is not possible to guarantee that all urls can be rewrited this way (if for example someone is concating url i javascript or something like that), but it will probbably work for WSDL's :)

    thx

Page 1 of 1 (3 items)
Microsoft Communities