note 105091 added to soapclient.soapclient
| From: | svenr at selfhtml dot org | Date: | Wed, 27 Jul 2011 10:51:49 +0000 |
| Subject: | note 105091 added to soapclient.soapclient | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181930@lists.php.net to get a copy of this message | ||
The "classmap" option actually is a mapping from the "ComplexType" used within
the SOAP to your PHP Classes.
Do not confuse the XML tag names returned for your request with these ComplexTypes. SOAP allows them
to be different.
I had something like this:
...
<soapenv:body>
<ns1:TagName>
<ns1:Content>FooBar</ns1:Content>
</ns1:TagName>
</soapenv:body>
TagName is not the key you want to put in your classmap, you have to know the name of the
ComplexType this TagName refers to. This info is contained inside the WSDL resource.
----
Server IP: 69.147.83.197
Probable Submitter: 83.169.152.152
----
Manual Page -- http://www.php.net/manual/en/soapclient.soapclient.php
Edit -- https://master.php.net/note/edit/105091
Del: integrated -- https://master.php.net/note/delete/105091/integrated
Del: useless -- https://master.php.net/note/delete/105091/useless
Del: bad code -- https://master.php.net/note/delete/105091/bad+code
Del: spam -- https://master.php.net/note/delete/105091/spam
Del: non-english -- https://master.php.net/note/delete/105091/non-english
Del: in docs -- https://master.php.net/note/delete/105091/in+docs
Del: other reasons-- https://master.php.net/note/delete/105091
Reject -- https://master.php.net/note/reject/105091
Search -- https://master.php.net/manage/user-notes.php