[Building Sakai] Problem WebService Sakai

Frédéric Dooremont frederic.dooremont at univ-littoral.fr
Tue Sep 14 04:49:01 PDT 2010


Hi, 
thank you for jour advice

$user = "toto23"

I have a doubt with access
demand function roleid String

I use access as content but it seems correct.
>> I dont understand the error (No such operation 'addMemberToSite')

best regards
frederic


Le 14 sept. 2010 à 13:02, Steve Swinsburg a écrit :

> 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"
> 

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



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


More information about the sakai-dev mailing list