LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing WSDL from local file and/or URL

Hello,

 

I am trying to import a WSDL (web service) form the following location: http://www.onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl

 

I would rather do this from a local file if possible as well.

 

Neither seem to work generating the message "Validation Failed the URL does not exist or the WSDL is bad"

 

Please help

0 Kudos
Message 1 of 4
(3,947 Views)

Did you include the correct authentication and proxy information?

 

Also, if you want to access it locally it will have to be already running as a web service on your machine and accessible through localhost. Is this what you were doing when trying to connect locally? It’s a common mistake to input a local file path rather than a URL pointing to the local service.

0 Kudos
Message 2 of 4
(3,907 Views)

I guess I don't understand why I can't just use a local file?

 

The WSDL just defines the interface, I want to use it to talk to mulitple devices on the same network that all support the service. There is no authentication or proxy server.

0 Kudos
Message 3 of 4
(3,898 Views)
That really depends on how you're trying to access the file. If you're trying to access the file through a web service like when it is not local, then you will have to access the file through a localhost rather than direct to the file path.
Mathew H.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,869 Views)