Only if that service uses the same virtual directory or *host* location.
So, if the host of the virtual directory or project is:
http://MyHost/..... (where MyHost is your virtual directory/host)
and when you access the service that "host" is not different in anyway, then yes you can. If the host is different or even if there is a port appended to it like:
http://MyHost:1234/... then you will need some sort of bridge.
Note that the example above may work on IE6, but will fail on IE7 and Firefox. This is a limitation of the XMLHttp request object that is the basis for the web service access mechanism.
You could have a different project that exists within a sub-directory of another project which would therefore have the same host name and so would work. But again, if you created a new virtual directory for this sub directory and give it a different host name, then no, it wont work without bridging or writing a custom service to do it for you.
Thx, it was very valuable information.
No comments:
Post a Comment