Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Client script to call a webservice
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01041845
Message ID:
01042578
Vues:
27
>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform