473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Call a webservice from a javascript function

Hello to all!

I need to accede to webservice from a Javascript function.
I have read on the possibility of using webservice.htc, but Microsoft no lon
ger supports it.
Can somebody say me how I can make that call to webservice from the client a
nd with Javascript?
I use C# and VS 2003.

Thanks in advance!

Sergio Cossa
Sistemas
Argentina
Nov 23 '05 #1
2 6340
> I need to accede to webservice from a Javascript function.
I have read on the possibility of using webservice.htc, but Microsoft no
lon
ger supports it.
Can somebody say me how I can make that call to webservice from the client
a
nd with Javascript?

Use Microsoft's Web Service Behavior (webservice.htc) if Internet Explorer
is your target browser. Even if it's no longer supported by Microsoft, it
still is the best JavaScript Web Service framework.
If your target browser is Firefox use Mozilla XmlXtras Web Services
(http://www.mozilla.org/projects/webservices/)

Anders Norås
http://dotnetjunkies.com/weblog/anoras/
Nov 23 '05 #2
Thank you Anders!
I will try the webservice.htc.

Best regards.

Sergio Cossa
Argentina

"Anders Norås [MCAD]" <an**********@objectware.no> wrote in message
news:O6**************@TK2MSFTNGP09.phx.gbl...
I need to accede to webservice from a Javascript function.
I have read on the possibility of using webservice.htc, but Microsoft no
lon
ger supports it.
Can somebody say me how I can make that call to webservice from the client a
nd with Javascript?

Use Microsoft's Web Service Behavior (webservice.htc) if Internet Explorer
is your target browser. Even if it's no longer supported by Microsoft, it
still is the best JavaScript Web Service framework.
If your target browser is Firefox use Mozilla XmlXtras Web Services
(http://www.mozilla.org/projects/webservices/)

Anders Norås
http://dotnetjunkies.com/weblog/anoras/

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Patrick | last post by:
I am almost certain that I could use HTTP Post/Get to submit XML Web Service call (over SSL as well, if using Version 3 of MSXML2) from an ASP Application? However, would I only be able to call...
0
by: Josh Harris | last post by:
You can copy and paste the following into a .aspx page (change names for your purpose) and it will call a webservice on every 1 minute. I used this piece of code for the purpose of refreshing a...
4
by: Tim Gallivan | last post by:
Hello group, I'm trying to develop a proof of concept webservice which asynchronously calls a function in a DLL. The function raises an event when it is finished, and works when used as part of...
1
by: Eric | last post by:
I need to call a function in a WebService from a VC++ 7.1 project. The WebService requires NTLM authentication and should be the user of the calling program. How should this be done? I have...
1
by: Mr Bojangles | last post by:
Hi, I want a do the following: From a (client side) web form, post to server side script (I'm using Javascript but anything will do), which in turn--and this is the important bit that I...
2
by: Zeba | last post by:
Hi guys! I'm new to JS / Ajax; I've been trying to do an Ajax call to my Webservice ( I'm using C# for code-behind). I'm not using any of the libraries available. I am sending my CustID to the...
1
by: magister pips | last post by:
Hello, I have encountered some strange behaviour when using the XMLHTTP Request object in Javascript to return xml from a C# Webservice Method. I create a SOAP envelope and send it off to the...
2
by: jojoba | last post by:
Hello to all! I have a fairly simple webservice running in asp.net ajax under c# (vs 2008). I built the service and it runs just dandy when i test it by itself in visual studio. However, to...
1
by: jojoba | last post by:
Hi I am running asp.net ajax (vs 2008) I have the following webservice listed below. However, i have no idea how to call this from javascript. Originally, before i started using the BeginXXX...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.