Write data to database

P

Pachydermitis

Hi all,
I am pretty new to XML and may be off track. I need to write data to
a database using a VB application. Rather that using ODBC to connect
directly to the database I'd like to send the data via a webserver. I
could write a web page and post data to it, but that doesn't seem the
best way. XML seems a natural candidate. Writing XML is pretty
simple, but I'm not sure where to even start on the web and database
server end.
Thanks for your help
Pachydermitis
 
D

David Dorward

Pachydermitis said:
I'd like to send the data via a webserver. XML seems a natural candidate.
Writing XML is pretty simple, but I'm not sure where to even start on the
web and database server end.

You should probably pick a language that you can write a CGI or server
module in (my preference would be Perl with mod_perl), then look for a SOAP
library for that language and for VB. Then use SOAP.
 
A

Andy Dingley

I am pretty new to XML and may be off track.

No, this sounds good.
I need to write data to
a database using a VB application. Rather that using ODBC to connect
directly to the database I'd like to send the data via a webserver.

This is a web service.
XML seems a natural candidate.

A natural candidate for an XML web service is a pre-existing XML-based
web service protocol like SOAP.

There is also XML-RPC. This is broken - use SOAP instead.

SOAP is easy to use as a client, harder to write the servers for.
However you don't need to do this, because many web server scripting
languages already have one available. If you use that (such as Perl
and SOAP::Lite) then it's pretty easy.
 
P

Pachydermitis

Thanks for your advice. I will look into that!

Andy Dingley said:
No, this sounds good.


This is a web service.


A natural candidate for an XML web service is a pre-existing XML-based
web service protocol like SOAP.

There is also XML-RPC. This is broken - use SOAP instead.

SOAP is easy to use as a client, harder to write the servers for.
However you don't need to do this, because many web server scripting
languages already have one available. If you use that (such as Perl
and SOAP::Lite) then it's pretty easy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top