[eluser]Nick Husher[/eluser]
CodeIgniter's XML-RPC library typically expects values in the following format:
Code:
ARRAY
0 => DATA
1 => DATA_TYPE
ENDARRAY
The section where you're defining multiple products (productcode=>1010, shape=>round) and then declaring the array of them as structs is probably where your error is coming from. You need to explicitly declare data types for every discrete unit of data to expect good results. For the second parameter, try something like this:
Code:
array(
array(
array(
array(
'productcode'=>1010,
'shape'=>'round'
),
'struct'
),
array(
array(
'productcode'=>1010,
'shape'=>'round'
),
'struct'
)
),
'array'
)
I haven't tested it, but it I think it's in the right direction.