Calling magento webservices using sudzc api

carls123

New Member
I am implementing magento standard api method in native iphone app. I use webservice generated by sudzc. To call method I use: \[code\][service call:self action:@selector(callHandler:) sessionId:@" " resourcePath:@" " args:@""];\[/code\]When I used methods e.g. \[code\]cart.info\[/code\] or \[code\]product.info\[/code\] in which I have to pass one parameter; it gives valid response. But when I used method e.g. \[code\]cart_product.add\[/code\] in which I have to pass an argument as value of array it gives error \[code\]SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1\[/code\]I have tested in SOAP UI also. There also it gives me same error. But same method works in PHP file. Even I tried by creating same soap request which I created using JavaScript but still it doesn't work.Can anyone help me to pass array as a parameter using sudzc api to call magento web services?
 
Back
Top