Writing a Web Services client application / Change WS client behavior at runtime |
To send an HTTP cookie to the service, set the record Cookie member with the cookie value. If you let the variable unset, the client won't send any cookie.
LET Calculator_CalculatorPortTypeEndpoint.Binding.Cookie = "MyCookie=AValue"
Unset that variable if you don't need the cookie to be sent anymore.