|
-
July 19th, 2008, 07:52 PM
#1
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.
-
July 20th, 2008, 12:42 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|