BrentonLang Posted July 19, 2012 Report Posted July 19, 2012 Hi Everyone, I'm using LabVIEW 2011 SP1 and am trying to use the "Import Web Service" to consume a WCF web service. I can connect to the service no problems, but when it comes to the window that lists the methods to import, there seems to be no methods available (even though I know there is). I've read on NI forums back in 2009 that WCF is not supported by the Import Web Service tool because it was written using .NET framework 3.0 (or prior), however, I'm using .NET framework 4.0. I would have hoped that NI would have updated this from 2-3 years ago. Does anybody know why the methods are missing? I know I can use a .NET dll, but that will take some more time... Quote
ned Posted July 19, 2012 Report Posted July 19, 2012 I believe the web service import tool still does not support WCF. A search on the NI forums turns up some alternate approaches, for example these threads: http://forums.ni.com/t5/LabVIEW/LabVIEW-and-WCF-web-service-Why-so-difficult/td-p/1731812 http://forums.ni.com/t5/LabVIEW/WCF-web-services-with-LabVIEW/td-p/1605832 Quote
BrentonLang Posted July 19, 2012 Author Report Posted July 19, 2012 Thanks for your help Ned. It looks like a reasonable alternative is to create a proxy class or proxy service. I'm a little ignorant when it comes to .NET. Does anybody have any examples on how to create a proxy service, but more importantly any examples on importing the proxy service into LabVIEW? Does it still use the Import Web Service tool? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.