View Single Post

  #2 (permalink)  
Old 10-03-2008
Jonathan Stein
 
Posts: n/a
Default Re: SOAP Call with multiple occurences of an element

Nick Vargish skrev:

> $soapclient->SyncItems($params);


I can't find any "SyncItems" in the PHP SOAP extension. Are you using
another SOAP library?

And why $soapCLIENT - it looks like the server side code?

Anyway, you might try using the stdClass object
(http://php.net/manual/en/reserved.classes.php) to build your response
structure.

$response = new stdClass();
$response->x = 'x';
$response->y[] = 'y1';
$repsonse->y[] = 'y2';

and so on...

Regards

Jonathan
Reply With Quote