I'm a Drupal nubie. I develop a extranet portal for my client using Drupal 7 that consumes Web Services from SOAP WSDL using Rule. I'm having trouble with Rule loops over result arrays.
I can successfully consume and display, say, the web service "API Version" which is a single result object.
Yet I'm having trouble with Rule loops when my result returns an array of items. It's an array of Tickets in this case. I see the result contains 10 Ticket objects, each as a stdClass Object. Yet I cannot do anything with them. I'm not sure if Drupal Rules creates an error or if I simply use this Rules module incorrectly. I added a "Show Message on the Site" of the word "iter" within the loop, yet it never shows, not once, let alone 10 times.
When I view my created Tickets content, I see none of my tickets. I see no "Iter" message shown on the site. I get the error:
Warning: array_keys() expects parameter 1 to be array, object given in array_keys() (line 1040 of /Applications/MAMP/htdocs/drupal/sites/all/modules/entity/includes/entity.wrapper.inc). =>
... dump here