473,387 Members | 1,549 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,387 software developers and data experts.

chiamare c# webservice da vbscript ?

Ciao,
come faccio a chiamare un webservice scritto in c# da una pagina asp in
vbscript ?

Ciao a tutti
Nov 21 '05 #1
1 2052
Whoops!
mi dispiace, ma non legerro e non scritto l'italiano bene.

most of the people who participate on this newsgroup do not read and write
italian!

I think you have a webservice written in C#, and you want to call it from an
ASP page written in VBScript.

There are a couple of ways to do this.
one way is to use the MS Soap Toolkit.
http://www.microsoft.com/downloads/d...displaylang=en

But as the download page states, this toolkit will be retired in April 2005.
This means Microsoft will no longer support its use. This would mean, for
example, that if a security bug were found in the toolkit after April 2005,
Microsoft would not be bound to correct it and issue a patch. Because of
this, most developers are not writing new code on the SOAP Toolkit.

Another option is to write a client of the webservice in C# (or VB.NET) and
have that *client* expose a COM interface. You would do this with tlmexp
and follow along the guidelines for COM--to-.NET interop. In this case the
ASP page would call the COM component, which would then act as the client to
the webservice.
http://msdn.microsoft.com/library/en...perability.asp

A third option: If the webservice is simple, then you may be able to use
MSXML to make the call. Here is an example.
http://cheeso.members.winisp.net/src...ile=Soap-v4.js

There are alternative SOAP toolkits for COM-based environments (like
VBScript). PocketSOAP is one.
http://www.pocketsoap.com/pocketsoap/

there may be other ways to do this, too.
-Dino

--
Dino Chiesa
Microsoft Developer Division
d i n o c h @ OmitThis . m i c r o s o f t . c o m
"Vincenzo Milazzo" <vi**************@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Ciao,
come faccio a chiamare un webservice scritto in c# da una pagina asp in
vbscript ?

Ciao a tutti

Nov 21 '05 #2

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...
19
by: Adam Short | last post by:
I am trying to write a routine that will connect a .NET server with a classic ASP server. I know the following code doesn't work! The data is being returned as a dataset, however ASP does not...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
3
by: ProJee | last post by:
1. How to pass chr(1) (or another special char below 32) to a method in a webservice? It raises an exception when I try to pass it through webservice.htc 2. How to pass chr(255) It doesn't...
3
by: Serdar C. | last post by:
hi there, i have to use a statistical program called (R-Project) to calculate some data on the server. so i decided to write a webservice that calls the program.. but the problem is that program...
1
by: Francis | last post by:
Hello, I am trying to build a webapplication in ASP, vbscript, that keeps a logfile (database) with the exact time and page of the visit by a registered user. Is it possible to build a running...
1
by: mzam | last post by:
Hi everyone, I have a vbscript which is consuming WebMethods from a WebService. Whenever the WebMethod returns a string or integer then no problem but when the WebMethod returns a DataSet then...
0
by: saleha369 | last post by:
hi..i'm hoping anyone could guide me how to call a webservice. here is my code and i hope anyone can point out what i'm missing ... Connection to the web service Const HOST =...
0
by: mrdanny2007 | last post by:
I have a DLL or assembly that I created in .NET that calls a webservice. I registered this as a COM Interop using regasm. I then opended the registry to check the objects and saw that one of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.