Hi,
I try to use a webservice using .NET engine in PB 2017 R2. The server requires a basic authentication.
My code is:
lsoap_connx = CREATE SoapConnection
lsoap_connx.CreateInstance(lnv_zeitdaten, "ztab_zeitdaten") // returns 0
lsoap_connx.SetBasicAuthentication ("", ls_username, ls_password) // returns 0
lnv_zeitdaten.webservicecall
The calls fails. The server returns a 401.
Username and Password are Ok.
I used Wireshark to log the traffic. Is simple HTTP. I can't find any authentication in the request header!?
What I'm doing wrong?
I also tried to set the domain name in SetBasicAuthentication and also to use setOptions.
The SOAPLog file is empty.