Re: [SOAP] PHP5 SOAP not adding namespace to parameters
| From: | Marius Mathiesen | Date: | Fri, 03 Dec 2004 10:19:52 +0000 |
| Subject: | Re: [SOAP] PHP5 SOAP not adding namespace to parameters | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1668@lists.php.net to get a copy of this message | ||
> Why doesn't PHP5 add the "ns4" namespace to the parameters ? Is there a
> way to force it to ?
Well, it does - kind of.
You see that PHP5 assigns the namespace to ns1
xmlns:ns1="TCOL_MATRIX"
not ns4. This means that ns4 in the PEAR sample is equivalent to ns1 in
the PHP5 example. Further, where PHP5 states that Addr_Map relates to this
namespace (TCOL_MATRIX), it logically follows that the tags within
<Addr_Map> belong to the same namespace:
<ns1:Addr_Map>
To me it seems PHP5 works correctly. However, this may not be very helpful
if your application doesn't work. Sorry about that :-)
Regards, Marius