Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Logon script fails 23 69
save excel in the same active file's folder. 8 48
Excel formula to report date modified 14 50
Delete command SQLdatasource in asp.net, vb 2 13
Script to copy or move mouse-selected collection of files plus targets referenced by shortcuts (.lnk) The purpose of this article is to help illuminate the real challenges and options available (where they may exist) for utilizing simple scriptin…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
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…

738 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