473,396 Members | 2,026 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Write data to database

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
Jul 20 '05 #1
3 1613
Pachydermitis wrote:
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.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2
On 28 Sep 2004 10:09:32 -0700, de******@hotmail.com (Pachydermitis)
wrote:
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.

--
Smert' spamionam
Jul 20 '05 #3
Thanks for your advice. I will look into that!

Andy Dingley <di*****@codesmiths.com> wrote in message news:<mm********************************@4ax.com>. ..
On 28 Sep 2004 10:09:32 -0700, de******@hotmail.com (Pachydermitis)
wrote:
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.

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: lawrence | last post by:
I've been bad about documentation so far but I'm going to try to be better. I've mostly worked alone so I'm the only one, so far, who's suffered from my bad habits. But I'd like other programmers...
2
by: Joe Gazda | last post by:
I'm a relative newbie to PHP, but have been able to put together some PHP code to generate a CSV/XLS file from a Query result. Now, I would like to include custom column names instead of the MySQL...
4
by: Toby Boogerd | last post by:
Below I note that my response.write is adding spaces after the characters. I use this code as Middleware, an application calls this page passing the LogonID and the page is suppose to returen the...
1
by: hulinning | last post by:
Hi I use webservice to read/write data to Access database using System.Data.OleDb with a connection string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source;User Id=admin;Password=" I can...
3
by: Brett_A | last post by:
I'm trying to write data from a form using a text box (textarea) that has a return after each item. For example: email1@domain.com email2@domain.com email3@domain.com email4@domain.com I'm...
9
by: asenthil | last post by:
Hai to all,, i had to tried to retrive and write a single row to a file from the database.. But dont know to write all the retrived rows to a file from the database.. how to do that... ...
0
by: cmrhema | last post by:
Hi, We are receiving huge number of data thro sockets, which we write up in a Message Queue. Thereafter we take all the values from the Queue and write up into the database. However we notice...
36
by: CK | last post by:
How do I write a set based query? I have a groupSets table with fields setId, idField, datasource, nameField, prefix, active Data: 1,someIDfield, someTable, someField, pre1, 1 2,someotherIDfield,...
3
by: sriram347 | last post by:
Hi I am a newbie to ASP.NET. I developed a web page (project type is web application) and I keep getting this error. B]Error message : "System.AccessViolation Exception attempted to read or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.