note 104970 added to class.soapserver
| From: | xmedeko at gmail dot com | Date: | Tue, 19 Jul 2011 10:32:32 +0000 |
| Subject: | note 104970 added to class.soapserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181691@lists.php.net to get a copy of this message | ||
I had a problem with document/literal wrapped SOAP server method returning the xsd:sequence of
complex types. i.e. serializing PHP array to xsd:sequence. The only solution which worked for me was
to
<?php
return new SoapVar('<...raw xml...>', XSD_ANYXML);
?>
According to the http://sam.xnet.tk/post/15/php-soap-server-part-2/
the rpc/literal style should have no problem with that.
----
Server IP: 69.147.83.197
Probable Submitter: 88.83.170.194
----
Manual Page -- http://www.php.net/manual/en/class.soapserver.php
Edit -- https://master.php.net/note/edit/104970
Del: integrated -- https://master.php.net/note/delete/104970/integrated
Del: useless -- https://master.php.net/note/delete/104970/useless
Del: bad code -- https://master.php.net/note/delete/104970/bad+code
Del: spam -- https://master.php.net/note/delete/104970/spam
Del: non-english -- https://master.php.net/note/delete/104970/non-english
Del: in docs -- https://master.php.net/note/delete/104970/in+docs
Del: other reasons-- https://master.php.net/note/delete/104970
Reject -- https://master.php.net/note/reject/104970
Search -- https://master.php.net/manage/user-notes.php