Solved

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

Posted on 2008-10-23
3
1,622 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
  • 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 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 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