Active
Project:
Bee Colony - Ubercart synchronization Web Service
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Jun 2012 at 13:04 UTC
Updated:
31 Jul 2012 at 06:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
FeBus982 commentedHi kesav20,
You should use first the method "system.connect" (provided by Services) to do an anonymous connection and receive session informations.
Then you should use the method "user.login" (also provided by Services) to login and get user permissions and update session.
Now you should be able to use beecolony methods.
You can look at this example http://drupal.org/node/762998 in php.
Alternatively http://drupal.org/node/1213270#comment-4739674 take this attachment to see an example written by me in python.
Hope this helps.
Comment #2
kesav20 commentedHi FeBus982,
I have used your Example code in php Just changed the domain,password and username but it throws an error...
Fatal error: Call to undefined function xmlrpc() in C:\wamp\www\kesa.php on line 4
Here is your code:
Where do i made a mistake....
Comment #3
FeBus982 commentedThis is an example to be used in a drupal site, xmlrpc() function is part of Drupal.
Sorry but i can't help you with php, you should read documentation about xml-rpc communication and php implementation.
Try there http://bit.ly/LJSMME ;)
Comment #4
kesav20 commentedit worked !!!
now login,logout are working fine!!!
how to make a new order using beeColonyUser.newOrder
it asks me to pass on two arguments session ID and order
I have passed sessionID .. now how to pass on order (struct)..