Re: PHP5, Soap, WSDL, and unbounded xsd:choice types.

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

 



Simon Detheridge wrote:
<snip />


What I want PHP to do, is enable me to access my 'bar' and 'baz' elements in the order in which they appear in the document, instead of having it glob them together for each type. However, I am unable to modify the output of the webservice itself as it interoperates nicely with other things already.

Can I get There from Here with PHP's own SoapClient, or do I have to parse the xml by hand?

I don't see how you could do it without altering the WSDL, which would alter the SOAP response. Your best bet if that is out of the question is to parse the portion of the response you need manually. You also need to be sure that the server is always going to send those elements in the exact order you are expecting.

Rob

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux