LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update application which uses Web Services library

Hello!
 
I am developing an application in which a Web Service is imported into a LabView Library. My virtual instrument (vi) has some functions/references of the Web Service, used from the lvlib.
 
My problem is that when I update the webservice (change or add a function) or install the webservice on another computer, I need to update or create another library. And after this, I have to re-write the whole vi, or atleast delete all the references and then add them again.
 
Is there any way that I don't have to delete and re-insert references after updating the library? I couln't find any mention of such problem anywhere on "ni" pages or in forums.
 
Thanks ahead.
 
Vaibhav
Vaibhav
0 Kudos
Message 1 of 11
(4,076 Views)
Hi,

Could you send us your VI so that we could see a little bit more ?

Regards

Richard Keromen

0 Kudos
Message 2 of 11
(4,065 Views)

Hi Richard!

Thanks for your attention.

Surely, I will make it today as the old ones don't work due to change in webservices' machine IP (the same problem for which I need a solution).

Will post it here.

Thanks!

Vaibhav
0 Kudos
Message 3 of 11
(4,058 Views)

Hi!

So, here is the small sample .vi I have made, using the labview library of webservice functions. The webservice is to communicate with CNC machines through another software agent.

The vi does simple tasks, like getting the machine status and emergency stop button status, X axis positions etc, and display.

I don't know how will you evaluate the problem. Because, the problem arises when I change the ip address of the machine which is hosting webservices. In such case, I have to rebuild the library and change all the vi's used in the application vi. My problem is to automatically update the subvi's used in the .vi I have sent.

 

Best regards,

Vaibhav



Message Edited by Support on 04-28-2008 04:36 PM
Vaibhav
0 Kudos
Message 4 of 11
(4,049 Views)

Hello!

Do you want me to send you the .lvlib file also? The LabView generated library, which has VIs for each webservice function.

 

Waiting to hear from you!

 

Thanks.

Vaibhav
0 Kudos
Message 5 of 11
(4,020 Views)
Hello,

Sorry for the late reply, but yes  I think that having the .lvlib file would be better.

Regards

Richard Keromen

0 Kudos
Message 6 of 11
(4,002 Views)

Hi Richard!

Ok, so here I am attaching the webservices .lvlib also, in the zipped file.

Do let me know if you have any more queries.

Looking to hear more from you.

 

Thanks ahead!

Vaibhav



Message Edited by Support on 04-28-2008 04:36 PM
Vaibhav
0 Kudos
Message 7 of 11
(3,998 Views)

Hello there!

Any clues, so far?

By the way, I have one more question. How to import webservices from a secured server, i.e. where the Default Website or Webservices directory is secured (Integrated Windows Authentication, and disabled anonymous access)?

 

Regards,

Vaibhav

Vaibhav
0 Kudos
Message 8 of 11
(3,954 Views)

Hi Vaibhav,

I have check this post, and i can't found nothing attached to help you (no LVlib, no vi).

Regards

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 9 of 11
(3,890 Views)
Hello Christophe!
 
Thanks for your concern.
 
Due to security reasons, two days back I requested the moderator to remove the attachments.
 
Please send me your email id on which I can send you the files.
Also, I am attaching the screenshots which can equally give explanation of the problem.
 
As you can see, I have used some functions from my .lvlib which was imported from a machine hosting the webservices. The question is, if I change the ip address of the machine, then I have to recreate the .lvlib and then one by one remove and add functions from the new .lvlib, is there any way that I just update the targetted IP address in these .lvlib or functions?
 
Best regards,
Vaibhav
Vaibhav
Download All
0 Kudos
Message 10 of 11
(3,885 Views)