Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.14.0

Bug #12774 I am Missing Response Information.
Submitted: 2007-12-26 15:30 UTC
From: gabyrsh Assigned:
Status: Duplicate Package: SOAP (version 0.11.0)
PHP Version: 5.2.5 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 41 + 35 = ?

 
 [2007-12-26 15:30 UTC] gabyrsh (Gabriel Master)
Description: ------------ Hello Friends , It's My first time. First, Sorry For my english, it's so bad. I am working with Soap Pear because is Faster than NuSoap. I have a problem, I am missing some info in my array using Soap Pear. For example this is my array (response to Wsdl page): stdClass Object ( [count] => 8 [offset] => 0 [products] => Array ( [0] => stdClass Object ( [adId] => 10273706 [advertiserId] => 276652 [advertiserName] => xxxxxxx [buyUrl] => click-xxxxxxx [catalogId] => cjo:569 [currency] => USD [description] => xxxxxxx [imageUrl] => images/736/7361490/4998-507178-t.jpg [inStock] => [isbn] => [manufacturerName] => Ugg [manufacturerSku] => [name] => Ugg - Aliso (Gaucho) - Men's [price] => 173.95 [retailPrice] => 0.0 [salePrice] => 0.0 [sku] => 7361490381 [upc] => ) [1] => stdClass Object ( [adId] => 10273706 [advertiserId] => 276652 [advertiserName] => xxxxxxx [buyUrl] => click-xxxxxxx [catalogId] => cjo:569 [currency] => USD [description] => xxxxxxx [imageUrl] => mages/720/7209940/7769-211028-t.jpg [inStock] => [isbn] => [manufacturerName] => Ugg Kids [manufacturerSku] => [name] => Ugg Kids - Kid's Solvang Boot (Youth) (Chocolate) - Kids' Shoes [price] => 90.95 [retailPrice] => 0.0 [salePrice] => 0.0 [sku] => 720994018 [upc] => ) [2] => stdClass Object ( [adId] => 10273706 [advertiserId] => 276652 [advertiserName] => xxxxxxx [buyUrl] => xxxxxx [catalogId] => cjo:569 [currency] => USD [description] => xxxxxxx [imageUrl] => images/720/7209940/7769-211065-t.jpg [inStock] => [isbn] => [manufacturerName] => Ugg Kids [manufacturerSku] => [name] => Ugg Kids - Kid's Solvang Boot (Youth) (Black) - Kids' Shoes [price] => 90.95 [retailPrice] => 0.0 [salePrice] => 0.0 [sku] => 72099403 [upc] => ) [3] => stdClass Object ( [adId] => 10273706 [advertiserId] => 276652 [advertiserName] => xxxxxxx [buyUrl] => xxxxx [catalogId] => cjo:569 [currency] => USD [description] => xxxxxxx i [imageUrl] => images/720/7201307/1396-287407-t.jpg [inStock] => [isbn] => [manufacturerName] => Ugg [manufacturerSku] => [name] => Ugg - Adirondack Boot II (Caldera) - Women's [price] => 188.95 [retailPrice] => 0.0 [salePrice] => 170.06 [sku] => 720130724838 [upc] => ) [4] => stdClass Object ( [adId] => 10273706 [advertiserId] => 276652 [advertiserName] => xxxxxxx [buyUrl] => site/click-xxxxxxx-xxx [catalogId] => cjo:569 [currency] => USD [description] => xxxxxxx [imageUrl] => himages/725/7255476/1396-287528-t.jpg [inStock] => [isbn] => [manufacturerName] => Ugg [manufacturerSku] => [name] => Ugg - Berrien (Zephyr) - Men's [price] => 188.95 [retailPrice] => 0.0 [salePrice] => 0.0 [sku] => 725547666371 [upc] => ) [5] => stdClass Object ( [adId] => 10273706 [advertiserId] => 276652 [advertiserName] => xxxxxxx [buyUrl] => site/click-xxxxx [catalogId] => cjo:569 [currency] => USD [description] => xxxxxxx [imageUrl] => images/725/7255428/1396-287403-t.jpg [inStock] => [isbn] => [manufacturerName] => Ugg [manufacturerSku] => [name] => Ugg - Bandon (Camwood) - Women's [price] => 203.95 [retailPrice] => 0.0 [salePrice] => 0.0 [sku] => 725542870449 [upc] => ) ) [totalResults] => 12020 ) [/PHP] In this example, I am lossing 2 elements in my array (6 and 7). Because the correct fuction show me 8 elements (0 to 7). With NuSoap, it is ok. But NOT with pear. Every Time I Loss 2 elements in my array. it is My php Code: $soapclient = new SOAP_Client("https://product.api.cj.com/wsdl/version2/productSearchServiceV2.wsdl",'wsdl'); // set up an array containing input parameters to be passed to the remote procedure $params = array( "developerKey" => $developerkey, "websiteId" => $websiteIdx, "advertiserIds" => $advertiserIds, "keywords" => $query, "serviceableArea" => "", "isbn" => "", "upc" => "", "manufacturerName" => "", "manufacturerSku" => "", "advertiserSku" => "", "lowPrice" => "", "highPrice" => "", "lowSalePrice" => "", "highSalePrice" => "", "currency" => "USD", "sortBy" => "", "sortOrder" => "", "startAt" => $startAt, "maxResults" => $maxResultsx ); $ret = $soapclient->call('search',$params); Any IDea?? Please I need It. Soap:Pear is so Fast, and amazing, I need to fix the following Bug. Best Regards Oops! Expected result: ---------------- I need to take all elements of my array.

Comments

 [2008-01-10 09:22 UTC] ggramlich (Gregor Gramlich)
This appears to be the same issue as bug #12099. Appears to be the same issue as bug #12615 -- which includes a solution. Line 786 of Base.php is this line: //$isstruct = false; Remove the comment slashes.
 [2008-01-10 13:53 UTC] gabyrsh (Gabriel Master)
Thanks, I Can Fix it with your comment.
 [2008-03-22 09:56 UTC] doconnor (Daniel O'Connor)
Marking as duplicate of bug #12615