Hi, everybody
Creating .NET assemblies from a WSDL file, using LV WS Browser works fine. Calling those assemblies in a VI, using the .NET functions, also works fine. I have, for example created a working VI that uses the web service
http://www.webservicex.com/globalweather.asmx?WSDL.
However, when I try to call a web service that my company’s IT department provides, the following error occurs:
"Error 1172 occurred at Exception has been thrown by the target of an invocation. >> The request failed with HTTP status 401: Unauthorized. in wsatftest.vi
Possible reason(s):
Labview: A .NET exception occurred."
The guy at our IT department says that their web services use “default credentials”, which contains user login name on the calling computer etc. He says that it is likely that the error occurs because the web service call contains wrong data in the credential token string.
So, my question is: Can one use credentials when calling web services from Labview, especially default credentials? In that case, how? There is a new tool for web services in LV8.20. Does it contain any new stuff that could be of any help?
Regards,
Andreas