How to call WCF service from VBScript or VBA

I am trying to find out how I can call a WCF service that runs with a net tcp binding using VBScript.
Our ERP system comes with an API we access through the WCF service. If the service is set to use http binding then it is a simple matter of using

Set objhttp = CreateObject("Msxml2.ServerXMLHTTP")
objhttp.open "GET", "http://localhost/WCFService/REST/Logon?"& "Operator=ADMIN",False
objhttp.Send
and this works fine

But the WCF needs to run with net tcp binding for a variety of reasons and I can't work out how to call it.
The service does expose a REST address so I was hoping to use SOAP but the syntax and technique elude me

Any help greatly received
Thanks
Andy
iegAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
When it's only exposing  TCP/IP endpoints without using HTTP(S), then it's a hard task to query the service. But you said that it is a REST web service. This means that it must be reached be HTTP(S). So i'm a little bit confuesed. What's correct?
0
iegAuthor Commented:
Thanks for helping.
The url used in a test tool that comes with the WCF service uses this as the address

net.tcp://172.20.0.8:14906/WCFService/Rest

Does this help? If not then I can contact the authors and ask them
0
ste5anSenior DeveloperCommented:
A RESTful web service is based on the use of the HTTP protocol. So you should conntact the authors.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.