You are here: Re: PHP5, Soap, WSDL, and unbounded xsd:choice types. « PHP « IT news, forums, messages
Re: PHP5, Soap, WSDL, and unbounded xsd:choice types.

Posted by Rob on 01/10/06 13:52

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация