06-23-2011 09:29 AM
Dear All,
I have found the following piece of code in the "Import Web Service" Function
This piece of code strips of the https:// as it does not equal http://
This then said that my URL was bad (Which it isnt) and stopped me from importing my webservice.
See NI arent I kind to you! I have never reported a bug and I dont even know if this is one (Although I am pretty sure it is) so I havent posted anything related to bugs etc.
I did manage to get my web service imported by short cutting the above piece of code (Hence the TRUE Constant)
Thanks
Craig
06-29-2011 06:00 AM
Hi Craig,
Where exactly is this code located? I wasn't able to find the VI this is inside. As a workaround for the issue in LabVIEW 2009, you can do a quick check to see what the protocol is, rather than just accepting it's always correct with a true constant. You can use the following method to implement that:
If you let me know where this located, I can check whether this has been fixed for the latest build of LabVIEW already.
Regards,
Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants
08-25-2011 12:02 PM
Hi,
In your post youe mentioned about set WSDL URL, does this subvi sets the location where the web service is located.
I am in a problem, in which i have to constantly change the web service URL address from where i have to import it.
If this vi does the same, kindly please share the vi.
regards,
Shrenik
09-05-2011 03:20 PM
That was indeed a side effect of this bug. The code is located under the import wizard which is found under the labVIEW Directory somewhere. It took me a long time to find where the import tool was located. Not on my LabVIEW PC at present so I am not much help other than to say this fixed some problems for me.
Craig
04-19-2012 03:46 PM
I ran into this bug today. Maybe we could get a CAR?
05-02-2012 03:01 PM - edited 05-02-2012 03:06 PM
It took me a while to find it... but changing this file fixed the importing problem /// even though we are not supposed to be messing with vi.lib files ///
C:\Program Files (x86)\National Instruments\LabVIEW 2011\vi.lib\Platform\WebService\Main Panel\Pages\Input WSDL\Main.vi
Using LV2011 32bit
Hope that helps the community!
I'm still having authentication issues calling the Web Service methods though so not sure this is a final solution... perhaps HTTPS services are just not supported? What does NI have to say about this?
<<-N->>
05-03-2012 05:26 AM
Hi,
I am glad to hear that this fixed the issue when importing the web service. The official stance is that currently HTTPS is unsupported in LabVIEW. The modification to the vi.lib files does provide a work around for those who are in need of importing HTTPS but again is not an official relasae or supported.
We are currently working on building support of HTTPS web services into LabVIEW. This is currently in testing and the release date has not let been announced.
I would erge you to illustrate your need for HTTPS support by posting on the NI Ideas Exchange:
Many thanks,