Author: Greenhippo | Posted on: 3/9/2009 2:49:09 PM | Views : 301

Hi,

Ive got a webservice on my server at ~/[somepath]/MyService.asmx

but i want all ajax accesses to the web service to go through ~/[zoneId]/[somepath]/MyService.asmx so this is the path ive registered with my ScriptManager

Ive successfully got the rewrite path setup so that it rewrites correctly, all requests with a zoneID remove and proccess the zoneID and rewrite to the real path.  This works fine when recieving the javascript proxy file (the /jsdebug one), but when i call the webservice methods in the javascript it goes back to calling ~/[somepath]/MyService.asmx!

 Is that path hardcoded in the generated proxy? is there someway to make it call methods using ~/[zoneId]/[somepath]/MyService.asmx rather than ~/[somepath]/MyService.asmx?

I know i can reset the proxy path manually in javascript but in this particular application this is not an ideal solution, is ...

Go to the complete details ...