Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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