From:             
Operating system: Windows 7
PHP version:      5.3.5
Package:          SOAP related
Bug Type:         Bug
Bug description:Complex Object nested array problem

Description:
------------
Hi,



I am working with PHP as a SOAP Client and ASP.NET WCF as a Soap Server.
The 

following is the Method Call and it's parameters:



 EditSelection (string apiKey, string SelectionID, long[] typeGroupIDs,
long[] 

typeIDs, FilterNewData filter, long[] QueryIDs)



The following is the "FilterNewData" Complex object:

long[]  CountriesIncludeIDs [get, set]

long[]  CountriesExcludeIDs [get, set]

long[]  CurrenciesIncludeIDs [get, set]

long[]  CurrenciesExcludeIDs [get, set]

long[]  AffiliatesIncludeIDs [get, set]

long[]  AffiliatesExcludeIDs [get, set]

string  Gender [get, set]

int     MinAge [get, set]

int     MaxAge [get, set]

long[]  RatingsIncludeIDs [get, set]

long[]  RatingsExcludeIDs [get, set]



I noticed that if there is a complex object with arrays in it, it returns
an 

"Error Fetching http headers" sometimes, and sometimes it doesn't. I have 

noticed that this error comes up when the data in the complex object is
actually 

filled. If the object is passed without any data in the arrays, then it
works, 

otherwise it doesn't. However, if the contents of the objects are exposed
as 

normal parameters (all arrays in the object passed as method parameters),
then 

it works fine.

Expected result:
----------------
Successfully send the data

Actual result:
--------------
"Error Fetching http headers"

-- 
Edit bug report at http://bugs.php.net/bug.php?id=54133&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54133&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54133&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54133&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54133&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54133&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54133&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54133&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54133&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54133&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54133&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54133&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54133&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54133&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54133&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54133&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54133&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54133&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54133&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54133&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54133&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54133&r=mysqlcfg

Reply via email to