[Building Sakai] Problem WebService Sakai

Steve Swinsburg steve.swinsburg at gmail.com
Tue Sep 14 04:39:45 PDT 2010


Actually, the other (main) issue is that addMemberToSite doesn't actually exist as a web service. It's addMemberToSiteWithRole.

cheers,
Steve

On 14/09/2010, at 9:02 PM, Steve Swinsburg wrote:

> Hi Frederic,
> 
> What is the value of $Users ? It needs to be a single eid, eg jsmith26.
> 
> The 'no such operation' is generally thrown when the parameters don't match the method so my bet is that one of the params is not defined or not the appropriate type, ie a list of user eids instead of a single one.
> 
> cheers,
> Steve
> 
> 
> On 14/09/2010, at 5:48 PM, Frédéric Dooremont wrote:
> 
>> 
>> Hi,
>> I have a small problem, I write an application in PHP with WebServices SAKAI.
>> In my application, I would like add member to the site with the webservices.
>> I use addMemberToSite  :
>> $resultat=$scriptProxy->addMemberToSite($session,$site,$Users,'access');
>> 
>> echo $resultat ;  // No such operation 'addMemberToSite'
>> 
>> I dont understand the error (No such operation 'addMemberToSite')
>> 
>> $session is ok
>> $site is ok
>> $Users is ok
>> 
>> 
>> thank you for your advice
>> 
>> best regards,
>> 
>> 
>> 
>> Frédéric Dooremont
>> Université du Littoral Côte d'Opale
>> Service Nouvelles Technologies Educatives
>> 1, place de l'Yser
>> BP 1022
>> 59375 DUNKERQUE Cedex
>> Tel site Dunkerque : 03 28 23 74 07
>> Tel site Calais    : 03 21 46 57 97
>> 
>> 
>> 
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100914/1f732462/attachment.html 


More information about the sakai-dev mailing list