Solved

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

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
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…

627 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