LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Imported Soap-Webservice Authentication

Hi everyone,

 

I successfully imported a SOAP-Webservice via "tools/import/webservice", with LabVIEW2017. (didn't put in any information: only the URL of the WSDL, selected only one Webservice for testing purpose and build)

The output is a Library with an Open.vi, a Close.vi and a WebService.vi. I made a TestMain.vi which is combining these three VIs, I input the credentials in the Open.vi and hit run, but it doesn't work as expected.

 

This is the Frontpanel of the Open.vi (I only have username and password, which I input at "Proxy Server Settings"). Also tried several other inputs, without success:

 

cred.PNG

 

I get back a "401 Unauthorized" which seems to be OK, regarding following image from (https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication)

 

StefanGe_1-1641896300824.png

But I never get back the "200 OK". I think this is caused by the fact, I didn't input an address in the Proxy Settings and it is never executed.

But i don't know what address I have to use, every address I tried leads to an error such as "System.UriFormatException"

 

 

Webservice_cred.PNG

proxy_cred.PNG

The auth is: basic

I have tested the Webservice in an other Programm called "Soap UI" and it worked. 

 

Is there anyone who has experience with importing web services and can help me?
Possibly it is simple but I do not have the right idea

0 Kudos
Message 1 of 1
(846 Views)