PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → 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
Iniciado por Alfredo Santibanez, mai., 12 2017 8:55 PM - Sem resposta
Publicado em maio, 12 2017 - 8:55 PM
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