ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging into SOAP WMLS WebService URL

Solved!
Go to solution

Can anyone point me to HTTPS code to login to SOAP webservice.

 

I have this URL:

Url =

https://online.xyz.com/WMLS

 

with supplied 

— username

— password


Is there a LabVIEW code snippet to send login info for authethetication and return a reference that opens the service API. 

 

Thanks


 

0 Kudos
Message 1 of 2
(1,210 Views)
Solution
Accepted by topic author Anthony_L

Hello:

 

OK, I was able to find internet info to answer my own question.

 

SOAP web service servers use Basic Login Authentication that goes as follows:

See:

 

https://datatracker.ietf.org/doc/html/rfc2617.html#page-3:

 

SOAP Basic Authentication Scheme (Login)
----------------------------------------
To receive authorization, the client sends the userid and password, separated by a single colon (":") character, within a base64 [7] encoded string in the credentials.

 

basic-credentials = base64-user-pass
base64-user-pass = <base64 [4] encoding of user-pass,

 

And Attached is the VI that Successfully accomplished this Login procedure.

 

 

0 Kudos
Message 2 of 2
(1,168 Views)