[Building Sakai] Problem WebService Sakai

Frédéric Dooremont frederic.dooremont at univ-littoral.fr
Tue Sep 14 06:44:57 PDT 2010


Thanks a lot,
your answer

everything works at present 

cheers,
frederic


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

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

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/e51d1293/attachment.html 


More information about the sakai-dev mailing list