Groups | Blog | Home
all groups > dotnet web services > january 2005 >

dotnet web services : Emit client side code from web service


DRR
1/31/2005 11:49:04 AM
I have a web service that I am calling from clients by simply clicking a URL.
I would like to have the web service emit a javascript alert box on the
client when complete. Is this possible? Any suggestions or pointers would be
appreciated.

Thanks.

J Chambers
2/1/2005 6:41:07 AM
not exactly...regardless of the type (for example even if you put your
javascript in html source in a string), the returning result is the method's
return value wrapped in XML.

is there any reason you can't just set up an aspx that calls the webservice
and displays the result (or pops up a javascript box)?

cheers

[quoted text, click to view]
AddThis Social Bookmark Button