WebMethod not called when url rewrite active
You'll need to use an complete link to your web method.
If you look in firebug you'll see, for example:
http://localhost/test1/index.aspx/SaveSetting as the url that you're trying to request, assuming that /test1 rewrites to /index.aspx
Assuming that the page lives at the root of your site, the following will work:
url: /index.aspx/SaveSetting
(This doesn't work at all with url routing, by the way!)
Perhaps move your web methods into an asmx file instead?