Page 1 of 1

SOAP

Posted: Sat Feb 24, 2007 4:36 am
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.

Posted: Sat Feb 24, 2007 2:35 pm
by Christopher
Is there a reason that you want to use SOAP and not just POST / response? Is it a requirement?

Posted: Sat Feb 24, 2007 9:59 pm
by abalfazl
Hello
Yes,There is a reason for that,But please explain more about your idea:just POST / response..How to do this?

Posted: Sun Mar 04, 2007 2:26 am
by abalfazl
Hi!
Anyone?

Posted: Mon Mar 05, 2007 11:18 am
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