Moving from NuSOAP to PHP5 SOAP

后端 未结 3 1199
一整个雨季
一整个雨季 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:37

    We had very similar problems with PHP5 built-in SOAP client trying to consume a .NET-based Web-service. Also WSDL parsing failed reporting invalid schema. Putting the schema definitions into a single local file didn't help.

    We gave up trying and switched to NuSOAP, which did work.

    However, NuSOAP is far from perfect also. Right now I get into out-of memory situation during the parsing of 1MB+ responses. Erasing all the nasty debug code helped a little, but not radically.

    Thus, looks like there's no 100% interoperable/functional SOAP client implementation in PHP at the moment.

提交回复
热议问题