Re: how to grab a list of objects from a soap response

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

 




Milo van der Linden-2 wrote:
> 
> I also prefer not to parse the string for future compatibility with the 
> php soap library..
> 
> I am one step further;
> 
> I now try:
> 
> 
> Which gives me:
> string(469) 
> "<Projects><Project><ID>1</ID><Name>LOGIS_2007-1</Name></Project><Project><ID>2</ID><Name>LOGIS_2007-2</Name></Project><Project><ID>3</ID><Name>LOGIS_2007-3-1</Name></Project><Project><ID>4</ID><Name>LOGIS_2007-4</Name></Project><Project><ID>5</ID><Name>LOGIS_2007-5</Name></Project><Project><ID>6</ID><Name>LOGIS_2007-6</Name></Project><Project><ID>7</ID><Name>MWI_TEST_LOCATIEVELD</Name></Project><Project><ID>8</ID><Name>MWI_TEST_LOCATIE_2</Name></Project></Projects>"
> 
> So at least the string only contains a Projects collection now.
> 
> I also noticed that thw WDSL definition does not contain a description 
> of the content of the Response, it simply states "any"
> 
> Might this be the problem?
> 
> 

  Hi,

   I am having same problem my var dump has same 'structure' as yours...

object(stdClass)#4 (1) {
>>    ["GetProjectListResult"]=>
>>    object(stdClass)#5 (1) {
>>      ["any"]=>
>>      string(478) "<projects 
  
  You said you tried something and now it shows xml without those
'object(stdclass)#4' tags...

What you did to remove those??? I am unable to get the clear xml response..

Atul.
    
-- 
View this message in context: http://www.nabble.com/how-to-grab-a-list-of-objects-from-a-soap-response-tf4371377.html#a13076682
Sent from the Php - Soap mailing list archive at Nabble.com.

-- 
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