Discussion:
Using a Web Service
(too old to reply)
dBase
2008-09-17 21:00:34 UTC
Permalink
Hello all,

I have been asked to write a small application that sends data over the web
using a web service.

As I understand it I will need to convert a dbf to XML format. This I will
manage mself (unless there is a tool that does this already).

Then what...
How do I send the XML?
Does dBase provide classes for this?
Can it be done at all using dBase?

John
Michael Nuwer
2008-09-17 22:26:27 UTC
Permalink
dBASE can, indeed, handle such a task. The attached code should get you started.
Post by dBase
Hello all,
I have been asked to write a small application that sends data over the web
using a web service.
As I understand it I will need to convert a dbf to XML format. This I will
manage mself (unless there is a tool that does this already).
Then what...
How do I send the XML?
Does dBase provide classes for this?
Can it be done at all using dBase?
John Noble
2008-09-18 09:16:41 UTC
Permalink
Post by Michael Nuwer
dBASE can, indeed, handle such a task. The attached code should get you started.
Perfect!

Thanks,

John

Robert Bravery
2008-09-17 21:39:24 UTC
Permalink
HI,

Infortunaltey I do not know of a way to create a web service via dbase. I do
not hink it can be done. You might be able to crealte the xml file and even
post it with a dbase web cgi program, but you would still need to create the
web service in something like MS C#. The web service would obviously return
data. I have never used dbase to do this, I do not know if dbase can use the
data via a web service, so do not know if it can be done.

Robert
Post by dBase
Hello all,
I have been asked to write a small application that sends data over the
web using a web service.
As I understand it I will need to convert a dbf to XML format. This I will
manage mself (unless there is a tool that does this already).
Then what...
How do I send the XML?
Does dBase provide classes for this?
Can it be done at all using dBase?
John
---
avast! Antivirus: Inbound message clean.
Virus Database (VPS): 080916-0, 16/09/2008
Tested on: 17/09/2008 11:35:55 PM
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
--
Web Development, Hosting, Design and Content Management Systems
http://www.integralwebsolutions.co.za



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080916-0, 16/09/2008
Tested on: 17/09/2008 11:39:25 PM
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
Andrew Shimmin
2008-09-17 23:05:02 UTC
Permalink
Robert,

I think he wants to use a web service rather than create a web service.

regards, andrew
Post by Robert Bravery
HI,
Infortunaltey I do not know of a way to create a web service via dbase.
I do not hink it can be done. You might be able to crealte the xml file
and even post it with a dbase web cgi program, but you would still need
to create the web service in something like MS C#. The web service would
obviously return data. I have never used dbase to do this, I do not know
if dbase can use the data via a web service, so do not know if it can be
done.
Robert
Post by dBase
Hello all,
I have been asked to write a small application that sends data over
the web using a web service.
As I understand it I will need to convert a dbf to XML format. This I
will manage mself (unless there is a tool that does this already).
Then what...
How do I send the XML?
Does dBase provide classes for this?
Can it be done at all using dBase?
John
---
avast! Antivirus: Inbound message clean.
Virus Database (VPS): 080916-0, 16/09/2008
Tested on: 17/09/2008 11:35:55 PM
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
Michael Nuwer
2008-09-17 23:37:42 UTC
Permalink
Post by Andrew Shimmin
I think he wants to use a web service rather than create a web service.
For what it worth:
dBASE can function as a web service. I use the SocketWrench control for that function.
Loading...