I have a simple web service that requires no input and returns a character
string.
I created the service and FTPd it to a remote server. The .dll to the .bin
directory and the single .asmx file to a directory called Services.
When referenced from a webapplication running on localhost it operates
correctly.
When referenced from a webapplication running on the same remote server as
the webservice it operates correctly.
When referenced from a webapplication running on a different remote server
then the remote server having the webservice it operates correctly.
When referenced from an HTML page using webservice.htc on localhost it
operates correctly.
When referenced from an HTML page using webservice.htc running on the same
remote server as the webservice it operates correctly
When referenced from an HTML page using webservice.htc running on a
different remote server then remote server having the webservice it fails
with ...
event.result.errorDetail.code = Client
event.result.errorDetail.string = Service unavailable
event.result.errorDetail.raw = null
What has to be done to correct the last condition and allow it to be
accessed from an HTML page on any server?
Is there a better approach to .HTML access of a webservice then by using
webservice.htc?
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--