Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client script to call a webservice
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01041845
Message ID:
01042578
Views:
28
>I'm guessing I HAVE to put the htc in the same folder as the web project. My next question is what if I dont have access to the folder. I want to write some script into a textbox on a website, that when the box is displayed it runs a web service. I'm actually doing some research on security and I'm trying to see if there is a way to call web services without using javascript (i've pretty much got that blocked). I know the user cant install or place anything in a file, but otherwise, I'm trying to figure out if it can be done.

It'a unlikely you'll be able to do anything without script enabled. Even if you were able to call the Web Service, what would you do with the result without script code? For that matter without JavaScript enabled a lot of ASP.NET's functionality doesn't work (link buttons, AutoPostBacks etc.), so that's a pretty drastic choice to make with ASP.NET applications in the first place. Unless you explicitly code around and use only direct links and buttons lack of JavaScript can be a problem.

The behaviors are also IE specific so it won't run on other browsers. You may be able to find a Web Service client that uses pure JavaScript using XmlHttp though. I seem to remember that Mozilla now has a Web Service client built-in or is in process of being built-in, too but I haven't played with it.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform