Hi,

We are using the built-in SOAP extension.

>From the docs:
$server = new SoapClient("books.wsdl", array('classmap' =>
array('book' => "MyBook")));

Soap server will return a complex data type 'book'.  The data fields
for book will be mapped to the php class' data fields in MyBook. It
seems that the constructor for MyBook is never called (according to
our tests). The data fields are mapped somehow internally.

If I want MyBook to be much more than just a data container, then I
can foresee that I will often want/need a constructor but __construct
is not called.

Could this be considered a bug? Any thoughts?

--
-- Matt Friedman

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to