|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-09 10:37 UTC] simonslaws at googlemail dot com
[2007-04-24 17:46 UTC] cem@php.net
[2007-06-25 08:50 UTC] cem@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 04:00:01 2025 UTC |
Description: ------------ If you ask for a SOAP proxy using a WSDL file that was not generated by SCA: $service = SCA::getService('Calculator.wsdl'); Then, for example, for the method signature: $service->add(1.23, 4.56) You would expect to be able to pass in primitive types. It seem that this in not the case because SCA_TypeHandler always expects an SDO and when the WSDL is not generated by SCA the input types are passed directly on to the SOAP extension. The SOAP extension is unlikely to generate SDOs to make this work. Reproduce code: --------------- $service->add(1.23, 4.56) Expected result: ---------------- 5.79 Actual result: -------------- PHP Warning: SDO_DAS_XML::createDocument() expects parameter 3 to be SDO_DataOb jectImpl, double given in C:\simon\Projects\Tuscany\php\pecl\sdo\SCA\SDO_TypeHan dler.php on line 121