Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is it possible to call a WCF Webservice Via VB Script?

Posted on 2008-10-23
3
Medium Priority
?
1,629 Views
Last Modified: 2008-10-27
Is it possible to call a WCF Webservice Via VB Script? I know and have seen VB Script calling traditional webservices.
If you could provide a sample of how in VB Script you would call and respond to a WCF Webservice call I would appreciate it.

Thanks,
Matthew VanDerlofske
0
Comment
Question by:docstar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Blackninja2007
ID: 22794062
it is my understanding that WCF support in Ajax script (so i assume vb script although I have only used java script) was added with .NET 3.5 and VS2008 ... you have to add the ajax enabling code to your WCF..

This link might help :-

http://msdn.microsoft.com/en-us/library/bb924552.aspx

0
 

Author Comment

by:docstar
ID: 22795809
Actually by vbscript I was thinking a script that would run on a server somewhere. Not really a webpage consuming the service.
0
 
LVL 3

Accepted Solution

by:
Blackninja2007 earned 2000 total points
ID: 22810770
In answer to your question you can call WCF services from VBSCRIPT. It is not easy the book WCF Unleashed from Wrox covers details of doing it. The WCF service must be exposed via COM, which can then be consumed by VBSCRIPT.

This might Help

http://msdn.microsoft.com/en-us/library/bb735856.aspx

Derek


0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question