01-31-2010 02:18 PM
01-31-2010 09:07 PM
It seems you clicked on the Post button before actually providing some details to your questions.
Please provide a reply with some more information. What is WSDL? Are you referring to Web Services Description Language? If not, then what are you referring to. If you are, what exactly do you mean by "import"? Import into what, for what goal?
02-01-2010 08:04 PM
My computer has .NET 1.1 and I am working with LabView 8.6. I followed the side http://zone.ni.com/devzone/cda/tut/p/id/4728 to import WSDL file that I have called "Programmer_Service.wsdl". First in LabView, I went to Tool >import>Web service. At the box of "Web Service Description Language URL" I enter "C:\Program Files\National Instruments\LabVIEW 8.6\instr.lib\Webservices\Programmer_Service.wsdl" and then pressed Next. Next page I left blank for "Input the Authentication Information". When I pressed next, LabView gave me an error "Internal unknow error, please contact National Intrument for help"
Please help me to solve this issue if you can.
Thanks,
wwwu
02-11-2010 10:37 AM - edited 02-11-2010 10:38 AM
Hello wwwu,
I have been able to reproduce this error. I am currently looking into this. I do want to know what your overall objective is. What is the file that you created "Programmer_Service.wsdl"?
02-11-2010 06:04 PM
This is the file that my company uses to control one of our equipment. I attach some first lines of the file for you to look at. Thanks, Viet
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://efjohnson.com/2600RepeaterServices/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://efjohnson.com/2600RepeaterServices/" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://efjohnson.com/2600RepeaterServices/">
<s:element name="GetSoftwareVersion">
<s:complexType />
</s:element>
<s:element name="GetSoftwareVersionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetSoftwareVersionResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="QueryPasswordStatus">
<s:complexType />
</s:element>
<s:element name="QueryPasswordStatusResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="QueryPasswordStatusResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SetPassword">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="level" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SetPasswordResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="SetPasswordResult" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SetAccessLevel">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="functionname" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SetAccessLevelResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="SetAccessLevelResult" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="KeyTransmitter">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="EnergizePA" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="KeyTransmitterResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="KeyTransmitterResult" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetRxFrequency">
<s:complexType />
</s:element>
<s:element name="GetRxFrequencyResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetRxFrequencyResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SetRxFreq">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="rxFreq" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="channelSpacing" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="bandNumber" type="s:int" />
</s:sequence>
02-12-2010 02:52 PM
Hello Viet,
This issue is you are trying to use WSDL file that is locally on your hard drive. This tool is expecting you to access a WSDL that is online. This is why the tool asks for a URL and not a path.
Try the process again using this URL instead of the file path.
http://ws.cdyne.com/NotifyWS/phonenotify.asmx?WSDL
02-15-2010 02:58 PM
It works with the link you gave me. So, how can I use our WSDL file?
VVu
02-16-2010 02:27 PM
Hello VVU,
Is your wsdl file hosted on the web? It needs to be on the web in order to be used. Are you trying to invoke web services? LabVIEW Web Services is server-side only. This means that you can only invoke web services from a machine that is serving up a web page or has a web server running on it.
02-16-2010 10:54 PM
I will try through this way.
Thanks,
VVu
02-22-2010 05:03 PM
Thanks, I put this file into one computer with web server anable and I can use LabView to import those vi's now. The problem I am having next is after enter the address (10.2.2.84 for instance) at proxy server setting and run a simple one, but it seems no communicate at all with the device that I want to control. Is there anything else that I have missed?
Viet