This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

wsdl import bug?

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

LabVIEW 2012
Message 1 of 7
(3,019 Views)

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:

 

url_protocol.png

 

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

0 Kudos
Message 2 of 7
(2,973 Views)

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

0 Kudos
Message 3 of 7
(2,956 Views)

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

LabVIEW 2012
0 Kudos
Message 4 of 7
(2,929 Views)

I ran into this bug today.  Maybe we could get a CAR?

0 Kudos
Message 5 of 7
(2,875 Views)

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->>

0 Kudos
Message 6 of 7
(2,861 Views)

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:

 

LabVIEW Idea Exchange

 

Many thanks,

Aaron. E
Product Performance Engineer
Dyson
0 Kudos
Message 7 of 7
(2,845 Views)