can any one please tell me what are the other ways to build the communication between two website's server without using "nusoap"
You can just call a website URL using fopen("http://www.somesite.com/script.php?p1=val1&p2=val2")
.
The other website can then parse the params using the $_GET
, and can reply (for example in XML). You can then parse the response.
If you want more options, Curl
and its libraries are not that hard in PHP, and can do much more.
There are more ways to do that.. The easiest options would be communication through http as if you were reading contents of a page:
http://php.net/manual/en/function.file-get-contents.php
or for more advanced task you can use sockets:
If you are talking about web-services take the php build in soap extension.
If you only what to receive the content of another website try fsockopen, curl or the php pear extension HTTP_Request2
You should use the built in soap extension for PHP rather than Nusoap.
As far as communication between the two servers, I'm unsure of what you're trying to do. If the servers are controlled by you (or your company) what you should do instead is mount a virtual drive and simply write/read files off the mount which effectively creates a communication between the servers. Might be a better solution than a esb especially if it's controlled by you.