Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is better PHP SOAP or NuSOAP?

Tags:

php

soap

nusoap

Which is better PHP SOAP or NuSOAP ? Please help me out ?

like image 660
Abdul Vahaf Avatar asked Mar 14 '13 05:03

Abdul Vahaf


4 Answers

PHP SOAP is available since PHP 5.0.1 . If you are in PHP4, you have to use NuSOAP.

Native PHP codes are usually better in performance & relatively bug free, so if PHP SOAP is available, use it. More, NuSOAP has not much documentation on their official website.

like image 137
Raptor Avatar answered Oct 20 '22 00:10

Raptor


Although there is some nuance to mention, I think NuSoap is better:

  1. Nusoap has some predefined methods that in case of using Soap you should write some of your own.
  2. because SOAP performance bottleneck is server response time, there is no fear to use a predefined class Like Nusoap.
  3. Handling UTF-8 is a lot more easy in Nusoap.
  4. Nusoap offers some good functions to create a SOAP server.
like image 35
hpaknia Avatar answered Oct 20 '22 01:10

hpaknia


Using nusoap, no need to write the WSDL file

like image 5
Kiran Kadali Avatar answered Oct 20 '22 01:10

Kiran Kadali


Nusoap is no longer maintained. It is supported up to version 4.X of PHP. Newer versions can start giving problems

like image 4
Iñigo Panera Avatar answered Oct 20 '22 00:10

Iñigo Panera