Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML, send and receive
Message
De
25/07/2016 12:01:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
25/07/2016 10:57:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01638597
Message ID:
01638598
Vues:
78
>Hi friends:
>
>I need to send a XML string to an IP, actually is a fiscal printer. Then I need to receive the XML response from it...
>
>It is written easy, but I've been all the morning searching on the web and just found tones of explanations about consuming web services and xmladapters, and xmltocursor and so... and it is not what I'm looking for.
>
>Anyone knows how this can become a wonderful reality?

Your tax authority surely has some specs on the protocol used, so look it up on their web site. Or whoever supplied the printer. I guess it can't be case-to-case, there should be a set protocol. Perhaps you only need to know the port used on that IP address and send a string to that port, then wait for a response. A combination of HttpSend() and HttpGet() calls should work, but you need to know the details - how to encode the xml when sending (I've seen a case when it was sent url-encoded as a parameter in the URL, no matter how big it got).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform