Hi Karamjit,

On 07/23/2011 10:56 PM, Karamjit Singh wrote:
> Hi Team,
>
> I am working on user registration restful web service for xwiki. I looked
> inside the code and found that XWikiContext instance is required which
> further contains the XWiki and XWikiRequest instances. for
>
> example XWiki.createUser(XWikiContext context)
>
>
> Can some please provide information about How to achieve similar in Restful
> web service implementation like createUser(XWikiContext context)?

I don't know very much about how Restful services are implemented, but I 
believe a REST resource is a component, in which case you should read 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HTheXWikicontext
 
about how to access the XWikiContext from a component.

Hope this helps,
Marius

>
> Its urgent, Please help me.
>
> Thanks
> Karamjit.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to