PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Pass a session id to a dot net web service
Pass a session id to a dot net web service
Iniciado por Mathy DREESEN, 29,mar. 2015 20:22 - 2 respuestas
Miembro registrado
2 mensajes
Publicado el 29,marzo 2015 - 20:22
Hi all,

I'm building an automatic interface with an accounting system to process sales invoices. The software company of the accounting system has made a web service (written in dot net) available. I've imported the web service in my Windev 19 application. First thing I do is run an "Authenticate" method which returns me a session id. Afterwards I have to make this SessionId available for all other calls to the web service. The problem now is that I have no idea how I make this sessionid available. It seems that in c# this can be done by making use of CookieContainer. For that reason I was trying to use HTTPCookieManage("myDomain",True) and HTTPCookieWrite("myDomain", "ID", gsSessionID) but with no success.
Is there anyone who is some experience with using a dot net web service in a Windev application?
Thanks in advance.

--
Mathy Dreesen
Publicado el 23,octubre 2017 - 16:47
I have the same problem. Did you solve it?
Publicado el 23,octubre 2017 - 16:50
I have the same problem. Did you solve it in any way?