Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML, send and receive
Message
From
25/07/2016 12:01:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
25/07/2016 10:57:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01638597
Message ID:
01638598
Views:
82
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform