CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Posts
    90

    Webservice redirect

    I have a webservice test.asmx which is located in test folder and has GetContents webmethod and . Inside

    this directory i have one more directory test2 which has webservice test.asmx which has same webmethod GetContents().
    whenever a webrequest GetContents() is made I have a httpmodule which is used for redirecting from test\test.asmx webservice to the

    to the webservice test\test2\test.asmx based on a particular version.

    But Server.Transfer("test2\test.asmx") is throwing the exception
    "Error executing child request for test2\test.asmx."

    or there is any approach through which i can redirect.

    Iam using dot net framework 2.0.


    Any help is appreciated.
    Last edited by kallzz; July 19th, 2008 at 08:30 PM.

  2. #2
    Join Date
    Feb 2005
    Location
    Denmark
    Posts
    742

    Re: Webservice redirect

    I have not tried anything like this, but I do not think you can use Server Transfer or similar.

    I think you need to make a webreference to the other webservice and execute the call through that.

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

Featured