« Previous Next »

Thread: "Object has moved" error when redirecting to another webservice

Last post 11-27-2008 3:28 PM by meverest. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 11-27-2008, 7:00 AM

    • ngruson
    • Not Ranked
    • Joined on 10-26-2006, 1:55 PM
    • Rotterdam, The Netherlands
    • Posts 2

    "Object has moved" error when redirecting to another webservice

    Hi,

    I want a virtual directory in IIS 6 to redirect to a SAP webservice. so when I make a request to this virtual directory, the request is redirected to  the actual SAP webservice. Now, I'll get an error "Object has moved. This document can be found at <the SAP webservice url>".

    Is there a way to make this work?

    Thanks,

    Nils Gruson

  • 11-27-2008, 3:28 PM In reply to

    Re: "Object has moved" error when redirecting to another webservice

    Hi,

    that's expected behaviour - it is exactly what a redirection response is meant to do.  it is up to the client to deal with this response.  In your webservice client, look for a 302 result to the http request, and if it is 302, then resend the request to the new url.

    cheers.

Page 1 of 1 (2 items)
Microsoft Communities