Edit report at http://bugs.php.net/bug.php?id=54133&edit=1

 ID:                 54133
 User updated by:    netfury87 at msn dot com
 Reported by:        netfury87 at msn dot com
 Summary:            Complex Object nested array problem
 Status:             Open
 Type:               Bug
 Package:            SOAP related
 Operating System:   Windows 7
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

I tried sending multiple ids (around 10) in all arrays and the same
problem 

occured using no objects but all parameters are arrays.


Previous Comments:
------------------------------------------------------------------------
[2011-03-02 10:56:27] netfury87 at msn dot com

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 this bug report at http://bugs.php.net/bug.php?id=54133&edit=1

Reply via email to