need help for drupal client

Events happening in the community are now at Drupal community events on www.drupal.org.
ebhakt's picture

hi there,
i am trying to create a client in c# which connects to any drupal based website and perform operations defined via services module and communicate via xmlrpc
this client will be available for free download once it is complete
now i am at the point when i am trying to use the user.save function
i am currently able to create a new user with a specified email address
however i cannot set the user password using the client
nor i am able to update the user information (like his email address for example) for existing users using the user.save function

i have given all services related permissions to anonymous users
we are able to login fine using user.login
even we can create new user accounts using user.save
but i am not able to edit configuration for existing users..

so far as i know:
1. the permissions are fine
2. using the api key security together with sessid

i am also confused about the hashes
do ihave to sumbit the hashed password to the user.save function or the clean password itself

please help if anyone can figure out something what's wrong

thanks

--
Bhaskar Tiwari
GTSE Generalist
Directory Services
Microsoft


All we have to decide is what to do with the time that has been given to us

http://www.ebhakt.com/
http://fytclub.net/
http://ebhakt.info/

Comments

Patch ?

anAgent's picture

Hi ebhakt,

I just noticed that I don't have that method mapped out in my framework (DrupalXmlRpc.NET)...

After trying to save the user and a little testing in 6.x-2.0-beta1 and looking at my "Recent Log Entries"; I seen this error in the message:
"First argument is expected to be a valid callback, 'user_profile_form' " which led me to: http://drupal.org/node/702006

Download the patch
1) Change directory to: ".../modules/services/services/user_service"
2) Run: wget http://drupal.org/files/issues/702006.patch
3 Patch file: patch < 702006.patch

Also, if you're using my framework, I'll be releasing a new sub version with the the rest of the methods mapped out soon. In the mean time, you could use the Interface Writer (download from my site under "molinesoftware-drupal-interface-writer") to write your interface object.

Hope that helps!

Regards,

Aaron

was this patch every commited?

barnettech's picture

Hello was this patch ever committed? I cannot update a user's password or change his or her profile fields. Does this patch apply to profile fields as well?

Thanks,

James

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: