PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #1  
Old December 26th, 2007, 06:40 AM
gabyrsh gabyrsh is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 1 gabyrsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 26 sec
Reputation Power: 0
Angry Problem with Soap

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 loss some info in my array using Soap Pear.

For example this is my array (response to Wsdl page):

PHP Code:
 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 is proud to offer the Ugg Aliso (Gaucho) - Men's: UGG  Australia s new surf inspired 'Aliso' boot is durable and comfortable for every day wear. Rich leather upper is lined with 8mm Merino curly sheepskin that is warm and breathable. Side pull on tabs allow for easy on and finished with the UGG  sun logo for detail. Leather covered Poron  footbed creates a cushioning that will last throughout the day. Lightweight molded rubber outsole combined with cork for increased shock absorption and sure footing.
                    [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 is proud to offer the Ugg Kids Kid's Solvang Boot (Youth) (Chocolate) - Kids' ShoesThis boot will take your kids from the school week to the weekend in true comfort and styleSupple suede upper is lined with soft sheepskin for maximum comfortA full-length side zipper ensures a snug fitThe exposed fleece collar and contrast stitching adds the touch of style you ve come to love from UGG AustraliaMolded rubber outsole is chunky and lugged to provide traction.
                    [
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 is proud to offer the Ugg Kids Kid's Solvang Boot (Youth) (Black) - Kids' ShoesThis boot will take your kids from the school week to the weekend in true comfort and styleSupple suede upper is lined with soft sheepskin for maximum comfortA full-length side zipper ensures a snug fitThe exposed fleece collar and contrast stitching adds the touch of style you ve come to love from UGG AustraliaMolded rubber outsole is chunky and lugged to provide traction.
                    [
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 is proud to offer the Ugg Adirondack Boot II (Caldera) - Women's: Available in whole sizes only. If between sizes, order 1/2 size up from your usual size. ; The Adirondack II is a premium cold weather boot. The leather and sheepskin upper combine to provide you with protection while the genuine sheepskin lining inside gives you comfort and warmth. Breathable Gore-Tex  liner. Vibram  outsole provides excellent traction and long lasting wear. Replaceable, removable and washable insole. Outsole is seam sealed to keep moisture out. Perfect for cold weather conditions. Outdoors and urban look in one. Waterproof leather and sheepskin lining keep moisture out and warmth in. Shaft height 5"
                    [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 is proud to offer the Ugg Berrien (Zephyr) - Men's: An exciting new addition to the Men s Casual Boot collection, the Berrien has the rugged motorcycle boot look with the comfort of UGG(R) Australia. Finished with a metal buckle, the upper combines distressed leather with quality sheepskin. A rubber outsole allows for durable traction with flexibility. Twin pull on tabs for easy on. The Berrien is perfect for keeping warm and comfortable with a great look.
                    [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 is proud to offer the Ugg Bandon (Camwood) - Women's: Stay stylish this winter in one of UGG(R) Australia s newest addition to the Cold Weather collection, the Bandon. UGG(R) teamed up with Vibram(R) to produce a technical and sleek outsole designed specifically for UGG  Australia. A Gore-Tex(R) upper allows this boot to be waterproof, windproof & breathable. The inside zipper provides easy on/off. In addition, a removable sheepskin sockliner provides extra warmth & comfort. With a chic exposed sheepskin cuff and an inside zip for a snug fit, this boot embodies all your functional needs in the elements without sacrificing great looks!; Please Note: Slight dye transfer may occur with darker colored sheepskin during first few wears.
                    [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




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:

PHP Code:
 $soapclient = new SOAP_Client("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.



Best Regards Oops!

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > Problem with Soap


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway