INFORMATION FROM PUBLIC SERVICE

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
tomtagaris
Posts: 87
Joined: Tue Aug 23, 2016 2:43 pm

INFORMATION FROM PUBLIC SERVICE

Post by tomtagaris »

I WANT TO DRAW INFORMATION FROM PUBLIC SERVICE FOR TAXES CAN SOMEONE WITH HELP ME UNDERSTAND HOW I CAN CONNECT
WSDL : https://www1.gsis.gr/wsaade/RgWsPublic2 ... blic2?WSDL
ENDPOINT : https://www1.gsis.gr/wsaade/RgWsPublic2/RgWsPublic2
XSD : https://www1.gsis.gr/wsaade/RgWsPublic2 ... lic2?xsd=1

User avatar
serge_girard
Posts: 2773
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 1071 times
Been thanked: 193 times
Contact:

Post by serge_girard »

Maybe Edward?

Serge
Serge Now Is The Happiest Time Of Your Life !

martingz
Posts: 342
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico
Has thanked: 61 times
Been thanked: 36 times

Post by martingz »

I Cant connect with Webservice to see methods
need more info

martingz
Posts: 342
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico
Has thanked: 61 times
Been thanked: 36 times

Post by martingz »

I use this to consume a webservice that allows me to check how many credits I have, I hope it is useful for you
Attachments
Consultatimbres.zip
(2.91 MiB) Downloaded 40 times

User avatar
serge_girard
Posts: 2773
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 1071 times
Been thanked: 193 times
Contact:

Post by serge_girard »

Martingz,

A lot of missing files, for instance: empcfdi.dbf ...
Serge Now Is The Happiest Time Of Your Life !

martingz
Posts: 342
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico
Has thanked: 61 times
Been thanked: 36 times

Post by martingz »

Serge , first of all a thousand apologies for answering so late (my son got sick), really the databases emcfdi have the info for user and password for webservice, this change for every webservice, the process of consuming the webservice is the important thing

usuario:=alltrim(empresas->uspac)
pass:=alltrim(empresas->passpac)
rfce:=alltrim(empresas->rfc)

frist
iniprocesob() generate the xml to send a webservice ( here go user and password )


this is the function to use webservice

fHttpExecute(cxml)


sorry for my bad english

Post Reply