Welcome! Log In Create A New Profile

Advanced

WD26 - SOAP request with pre-emptive authentication

Posted by ArieM 
WD26 - SOAP request with pre-emptive authentication
June 13, 2022 03:56PM
I'm calling a SOAP webservice and these people tell me that I don't use pre-emptive auithentication. Which means that on a first call the soapserver returns and unauthorized error is returned and then the client send user+password. WIth pre-emptive authentication this can all be done in one call.

I have these lines of code and see no options to set for this purpose
soapexample.Address = someurl
soapexample.Use = someuser
soapexample.Password = somepassword
soapexample.Authentication = auBasic


All magic seems to be handled by the Windev framework in the background. And it works.

But how to force the use of pre-emptive authentication?

Arie
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: