SOAP

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
abalfazl
Forum Commoner
Posts: 71
Joined: Mon Sep 05, 2005 10:05 pm

SOAP

Post by abalfazl »

Hello friends

I want to build a relation between 2 database by SOAP.

The scenario is ,If one user input data in database A,Database B must beh updated automatically.

Say there is 2 sites,both of them has Mysql database,When User input data to site A,Database of site be update,Both of sites use PHP.
These database are in two server,say these are two internet sites,When one database of site A be update,Database of site B must be updated ,َAt the same time



I don't want to use something like NuSoap.But I have no Idea How to do that,

Please guide,

Thanks in advance.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Is there a reason that you want to use SOAP and not just POST / response? Is it a requirement?
(#10850)
abalfazl
Forum Commoner
Posts: 71
Joined: Mon Sep 05, 2005 10:05 pm

Post by abalfazl »

Hello
Yes,There is a reason for that,But please explain more about your idea:just POST / response..How to do this?
abalfazl
Forum Commoner
Posts: 71
Joined: Mon Sep 05, 2005 10:05 pm

Post by abalfazl »

Hi!
Anyone?
ody
Forum Contributor
Posts: 147
Joined: Sat Mar 27, 2004 4:42 am
Location: ManchesterUK

Post by ody »

I think you really want to be using MySQL replication for this. It can be done in SOAP, but it's really not the correct and most resilient way to go about it.

http://dev.mysql.com/doc/refman/5.0/en/replication.html
http://www.howtoforge.com/mysql_database_replication
http://www.google.co.uk/search?q=mysql+replication
Post Reply