already try put userLogin into context before call service?
GenericValue userLogin =delegator.findByPrimaryKey("UserLogin",
UtilMisc.toMap("userLoginId","admin"));
Map input = UtilMisc.toMap("userLogin", userLogin);
Map serviceResults = dispatcher.runSync("serviceName", input);
ian tabangay-2 wrote:
>
> Hi. I have some services that I wish to run on scheduled times but some of
> them produces an error since the service requires authentication or the
> user
> to be logged in. Is there a way to work around this problem? Thanks.
>
>
> ~ ian
>
>
--
View this message in context:
http://www.nabble.com/Running-services-on-a-scheduler-tp19172460p19185204.html
Sent from the OFBiz - User mailing list archive at Nabble.com.