Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > Generate XML file through MySQL DB Insertion

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-05-07, 04:11
aar.piyush aar.piyush is offline
Registered User
 
Join Date: Nov 2007
Posts: 2
Generate XML file through MySQL DB Insertion

We are in process to execute the event the moment we get an entry in DB i.e. at the time of insertion in MYSQL we need to generate an XML and forward to another server.

For example we got an message from user A, we need to fetch all who are linked up with user A and finally put in encoded XML file. At last this XML file has sent to third party server i.e. http://yahoo.com?data=<encoded-xml-string>&action=data

Please let us update if there is any alternate to do rather than MYSQL JOB Handler.

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-05-07, 05:41
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 5,460
sorry I don't understand
do you mean you need to get an XML feed from MySQL at the point that you insert the data?
or do youmena you want to query MySQL and return data to the client application in XML?
Reply With Quote
  #3 (permalink)  
Old 11-05-07, 06:17
aar.piyush aar.piyush is offline
Registered User
 
Join Date: Nov 2007
Posts: 2
Hey Healdem,

Our scenario as follows:

Once the data has Inserted into DB we wanna retrieve the relevant data as per this inserted value and make a pre formatted XML file. This XML file we want to send a third party server. [I mean the sending part has to triggered automatically].

In simple words we can say that we want to trigger the sending XML stream after insertion of data.

Thanks.
Reply With Quote
  #4 (permalink)  
Old 11-06-07, 11:31
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 734
You're going to be using your application to do this...
Steps :
1) application takes data input
2) application submits information to database
3) database stores information (as was sent)
4) application collects data from database
5) application builds xml file
6) application sends xml file over stream

As you can see from the above the only thing the database does is store and retrieve the information for you. Your application will handle the rest.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On