Moving from NuSOAP to PHP5 SOAP

后端 未结 3 1311
一整个雨季
一整个雨季 2021-01-13 00:35

I have been working on a script with PHP4 that relies on NuSOAP. Now, I\'m trying to move this to PHP5, and use the buildin support for SOAP there.

$wsdlPath         


        
3条回答
  •  耶瑟儿~
    2021-01-13 01:15

    Make sure NuSoap and PHPv5-SOAP are running on the same server. If I'm not totally wrong, both libraries uses the same class-name. Maybe it will work better if you make sure none NuSopa-files are included? And also verify that the SOAP-library are loaded:

    if(!extension_loaded('soap')){
      dl('soap.so'); // Actually a deprecated method. See "notes" at http://no.php.net/dl
    }
    

    I guess the version-field you refer to is defined as "SOAP 1.1" or similiar?

    Best wishes :)

    Btw: what are you working on? Exchange of delays from the pilot to the airport? Or perhaps a webservice which will decrease the waiting-time on luggage delivery at Osl? :p

提交回复
热议问题