[SOAP] Returning Arrays...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible with PEAR::SOAP to return an array of array items, with the
array being the returned type, not some predefined type being an array of
type metadata?  (i.e. in the disco.php server example the way an array is
returned is by creating a type called MP3TracksArray).  The soap client in
my case is expecting an array of type metadata, where metadata is defined as
array of <key><value> strings...

<return xsi:type="xsd:Array" ns2:arrayType="ns3:metadata[1]">
<item xsi:type="ns3:metadata">
  <item>
    <key xsi:type="xsd:string">uri</key>
    <value
xsi:type="xsd:string">http://www.google.com/images/logo.gif</value>
  </item>
</item>
</return>

I have tried just about everything, to generate this kind of a return type
and have failed utterly so far...

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux