PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → call a NAV SOAP webservice from WM 21 with windows authentication
call a NAV SOAP webservice from WM 21 with windows authentication
Débuté par Alfredo Santibanez, 12 mai 2017 20:55 - Aucune réponse
Posté le 12 mai 2017 - 20:55
Hello, I am trying to call a MS Navision SOAP webservice using WM21.

I was able to import the webservice into a project and define the variables.
v1 is Read
v2 is Read_Result
v1.No="16769"

But no results from calling the function read.

v2=Read(v1)
Info(v2.FacturaVenta)

I needed to import the webservice with domain\user and password. At runtime, is it possible to set this information?
I tried this:
FacturaVenta_Service.Password="PWDpwd2015"
FacturaVenta_Service.User="SKNCC\ADMINERP"
Makes no change, I guess it should send or call something before issuing the function call to read.

Any help or experience with this type of calls?

Any other way to call this type of webservices?

Best Regards
Alfredo