Avatar of PSIUnit
PSIUnit

asked on 

Run web service from VBScript

I have created a web service.  One of the methods makes a csv file.  There are no parameters to send to it, it simply creates a file.  We've got some software - 24x7 Scheduler that supports VB Scripting and I would like to use it to execute the method but I don't know VB Scripting.  Does anyone have a code sample available showing how to do this?  The web service is running on a web server.  
VB Script

Avatar of undefined
Last Comment
silemone
ASKER CERTIFIED SOLUTION
Avatar of silemone
silemone
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of PSIUnit
PSIUnit

ASKER

The method that I need to call is an ASP.Net application (web service) running on a web server.  The software (24x7 Scheduler) where I want to access the application has a script editor where you can write a VB Script to access outside applications.  I looked at the code and tried placing it all into a .vbs file just to see if I could get it to run and it's giving me errors.  Probably mostly because I have no clue when it comes to VB Script...
Avatar of silemone
silemone
Flag of United States of America image

Ok...so where are you on this?  Did you solve?  The link above gave an example of connecting to webservice.   I've tested that script and it will indeed get you to a webservice.  Unfortunately, the software scheduler is another issue. You'll have to read the API and use the methods provided to access the service.  Please let me know if you  have made progress on this.
VB Script
VB Script

VBScript (Visual Basic Scripting Edition) is an interpreted scripting language developed by Microsoft that is modeled on Visual Basic, but with some important differences. VBScript is commonly used for automating administrative and other tasks in Windows operating systems (by means of the Windows Script Host) and for server-side scripting in ASP web applications. It is also used for client-side scripting in Internet Explorer, specifically in intranet web applications.

39K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo