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

how to consume web service from VBScript?

Dear all,

Is there a way to create web service consumer in vbscript?
I've found this example (and many like it) in Internet:

set c = CreateObject("MSSOAP.SOAPClient")
c.mssoapinit("http://localhost/MYSoapApp/MYSoapApp.Calc.soap?WSDL")
for i = 1 to 10
WScript.Echo i & " " & c.Add(i,i) & " " & Time
next

but it's for the depreciated MS SOAP SDK.

Any suggestions for a .NET 1.1 alternative?

Nov 23 '05 #1
3 11323
Hi,

ehhh. .Net does not have VBA or VBScript. If you go with .Net you
should just have the proxy created (set reference/run wsdl.exe) and
use that.

For VB, VBA, VBScript; Use the 'little out of date' SOAP toolkit, lots
of (commercial) programs still do.

Hope this helps,

Marvin Smit

On Fri, 29 Jul 2005 13:07:02 -0700, "mom_newbie"
<mo*******@discussions.microsoft.com> wrote:
Dear all,

Is there a way to create web service consumer in vbscript?
I've found this example (and many like it) in Internet:

set c = CreateObject("MSSOAP.SOAPClient")
c.mssoapinit("http://localhost/MYSoapApp/MYSoapApp.Calc.soap?WSDL")
for i = 1 to 10
WScript.Echo i & " " & c.Add(i,i) & " " & Time
next

but it's for the depreciated MS SOAP SDK.

Any suggestions for a .NET 1.1 alternative?


Nov 23 '05 #2
Thanks, Marvin
ehhh. .Net does not have VBA or VBScript. If you go with .Net you
should just have the proxy created (set reference/run wsdl.exe) and
use that.
For VB, VBA, VBScript; Use the 'little out of date' SOAP toolkit, lots
of (commercial) programs still do.


I cannot use .NET in my scripts and SOAP kit would definitely be my last
resort :-)

Let's re-phrase my question - is there a corresponding functionality for
mssoapinit() in .NET?

My feeling is that it should be somewhere - like HTTP utilities in Microsoft
namespace.

Generally, any tools (accessible from vbscript) for creating objects from
SOAP messages would help.

Nov 23 '05 #3
You should use PocketSoap from Simon Fell.

Nov 23 '05 #4

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

Similar topics

2
by: Michael Hatmaker | last post by:
I have begun experimenting with web services, and I created some simple web services in C# and was able to install them with IIS and create an equally simple C# client to consume them. My next...
0
by: pranoliver | last post by:
Hi, How can I consume a Web Service that returns a DATASET from classic ASP. I know how to consume the Web Service when it returns just a variable using SOAP Toolkit 3.0. Thanks In Advance.
2
by: Abeslom via .NET 247 | last post by:
Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected...
4
by: John Bailo | last post by:
I wrote a .NET/c# webservice which I then needed to consume from java server pages. The simplest ( and best ) solution I found, was some code to open a socket, and send a SOAP message directly...
4
by: geilen | last post by:
I'm trying to use a dataset returned from a web service in an unmanaged C++ (MFC) client. The dataset is returned as a BSTR, and I'm having trouble reading the BSTR into an XML document for...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
5
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said...
3
by: frustratedcoder | last post by:
I need to consume a web service written in Perl but there is no wsdl file for this service. The perl soap client that can call and consume this web service looks like this (if it helps) #!perl...
2
by: hharry | last post by:
hello all, trying to consume a simple web service using httpwebrequest instead of generating a proxy class. code for simple web service: Imports System.Web.Services ...
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...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
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.