04-06-2010 06:01 PM
In order to run the VI on a web service it needs to be treated as a subVI. To do this the connector pane must be connected. The connector pane has a link from the help that I sent to the LabVIEW Help: Assigning Terminals to Controls and Indicators.
I hope this helps. It has links to help clarify. To see the connector pane right click on the Icon at the top right side of your front panel. You will have an option to view the connector pane. This is what the help will be refering to.
04-07-2010 09:50 AM
You mean like this in the attachment? I rebuilt and deploy, but still not works. Or I have to create another add.vi and include this sub vi into that?
Viet
04-08-2010 11:03 AM
Hello Viet,
I have attached a document that shows step by step how to connect the connector pane. There are 8 steps in numerical order. In the screenshot the mouse is not showing but the black on the connector pane indicates a mouse click and the highlight of a front panel object indicates a mouse click.
Image one is a right click. Image 2-7 are using the wiring tool on the tools palette. This tool appears automatically if the automatic tool selector is chosen.
04-08-2010 01:15 PM
Sorry to confuse you. Thank you for details, but I did all these including rebuilt and deploy and it still doesn't work. After that, do I have to connect this sub to anything? My number is 214 493 8839. If you don't mind, please call me.
Thanks,
Viet
04-12-2010 08:37 AM
Hello Viet,
Could you elaborate on how this is not working? If you would like to speak to one of our applications engineers, please dial 1-866-275-6964. You will be able to create a service request with us provided you are a member of the Standard Service Program.
07-23-2010 11:56 AM
Hi Vince,
I have a similar problem. I am trying to import a .wsdl file from the harddrive and not from an internet web host.
A supplier has developed a system for us that uses web services to send messages via SOAP (I think I have it right) between the equipment in the system. There is no web host setup on either equipment, they just use the web services protocol as the communication "method". The system works fine.
I would like to create a LabVIEW program to monitor temperature in the system. The supplier has included some .wsdl files in their source code distribution and suggested that I get the infromation (temperature readings) that I want using web services to access the info.
Attached is one of the .wsdl files (had to change extension to .txt for attaching to this forum post) that I would like to use.
If I cannot import the file from the harddrive, can I setup a temporary web host (or whatever) to import the file from using the Import Web Service wizard?
I'm running LabVIEW 8.5 on Windows XP.
Thanks for your help. If you need any info please let me know.
Tim W.
07-27-2010 12:10 AM
Hi Tim,
I will have to look a bit more into this and get back to you. I will update you soon with what I find out.
Vivek Nath || Applications Engineer || National Instruments
07-27-2010 01:58 PM
Hi Tim,
It is not possible to import the WSDL file from the hard drive. The WSDL file will have to be hosted on a web server. This was also mentioned in post #8 of this thread.
I hope that answers your question.
Regards,
Vivek Nath || Applications Engineer || National Instruments
05-17-2017 09:29 AM
Here is the solution: I use Service.wsdl as an example.
(Works for me with LabVIEW 2016)
1. Save your file here:
C:\Program Files (x86)\National Instruments\Shared\NI WebServer\www\Service.wsdl
2. Verify it is accessible in your browser:
http://localhost:8080/Service.wsdl
If not working then fix it here: LabVIEW > Tools > Options > Web Server > Configure Web Application Server (needs Internet Explorer & Silverlight)
3. Use the LabVIEW > Tools > Import > Web Service ...
with the same URL:
http://localhost:8080/Service.wsdl
4. Click Next > Next > Next > Next > Generate > Finish
06-06-2019 06:02 PM
Greil:
Thank you!!