Closed (fixed)
Project:
Web service client
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2011 at 14:01 UTC
Updated:
28 Mar 2011 at 17:11 UTC
hi, while trying to use wsclient with current dev versions of drupal, rules and entity i ran into the following issues:
now i tried a workarround using a rule component. call the webservice operation within the rule component. the return value won't be available as provided variable until i clear caches. now i can select the search return value to be provided, but immediately after saving, the variable is gone again
Comments
Comment #1
dasjoalso, i receive
i use git checkouts which are all up-to-date. maybe wsclient needs is affected by recent entity updates?
Comment #2
klausiYep, I haven't updated the code to the recent entity API changes yet. Will do soon.
Regarding the service: could you provide the export of your service? have you tested the operation manually in your browser (without wsclient)?
Comment #3
klausiCode is now updated. I have also created a wsclient_examples submodule to demonstrate the usage of some web services, e.g Google Translate, Geocoder.us und Twitter search.
Comment #5
thriftyngreen commentedI am still getting this error from the latest releases. Hi this was posted minutes prior to the update I was not getting the errors but still no clue how to access feed data or initiate GET requests with it.
Comment #6
dasjo@thiftyngreen: i didn't have those problems recently, please provide more info how to reproduce your bug
Comment #7
thriftyngreen commentedTrying to create a new rule to engage an import -- selected upon new webservice update and named the rule import. Got back this .
* Notice: Undefined index: wsclient in wsclient_rules_event_set_alter() (line 197 of /home/content/01/7110201/html/staging/sites/all/modules/wsclient/wsclient.module).
* Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in EntityAPIController->load() (line 203 of /home/content/01/7110201/html/staging/sites/all/modules/entity/includes/entity.controller.inc).
* Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in EntityAPIController->cacheGet() (line 297 of /home/content/01/7110201/html/staging/sites/all/modules/entity/includes/entity.controller.inc).
Comment #8
klausiFixed the notice from above. However, I think you do not use the module correctly. The web service description update event is for updating the internal web service settings only, it has nothing to do with web service calls. You want to use the actions provided by this module (add an action to a rule, select from the group "Web services").
Comment #9
thriftyngreen commentedHi Klausi, well I will give it a shot. A simple example in the Read Me would be amazing. Thanks for getting back to me.