creating FacilityManager problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

creating FacilityManager problem

shilpa
Hi Friend,

I am creating facility manager in my application,and calling in my application ofbiz createfacility service.So that time getting bellow mentioned error.Please check and guide me.

One more question is that can i use in  my application create facility service.that is im only creating services not doing other operation like creating an inventory,like that.please tell me shall i used ofbiz services in my application .becoz now im getting facilitygenericpermission error..

2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [     RequestHandler.java:648:INFO ] Ran Event [service:component://product/servicedef/services_facility.xml#createFacility] from [request], result is [error]
2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [     RequestHandler.java:431:ERROR] Request CreateFacility caused an error with the following message: You must be logged in to complete the [Main permission logic] process.
2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [     RequestHandler.java:750:INFO ] Rendering View [EditFacility], sessionId=4FD55262329883E9F829C0B7A67C63CD.jvm1



thanks

svn

Reply | Threaded
Open this post in threaded view
|

Re: creating FacilityManager problem

S K Pradeep kumar
This service requires, the authorization. You supposed to send the
userLogin in service context.

With regards,
S K Pradeep Kumar,
9035009495


On Fri, Jul 20, 2012 at 6:01 PM, shilpa <[hidden email]> wrote:

> Hi Friend,
>
> I am creating facility manager in my application,and calling in my
> application ofbiz createfacility service.So that time getting bellow
> mentioned error.Please check and guide me.
>
> One more question is that can i use in  my application create facility
> service.that is im only creating services not doing other operation like
> creating an inventory,like that.please tell me shall i used ofbiz services
> in my application .becoz now im getting facilitygenericpermission error..
>
> 2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [
> RequestHandler.java:648:INFO ] Ran Event
>
> [service:component://product/servicedef/services_facility.xml#createFacility]
> from [request], result is [error]
> 2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [
> RequestHandler.java:431:ERROR] Request CreateFacility caused an error with
> the following message: You must be logged in to complete the [Main
> permission logic] process.
> 2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [
> RequestHandler.java:750:INFO ] Rendering View [EditFacility],
> sessionId=4FD55262329883E9F829C0B7A67C63CD.jvm1
>
>
>
> thanks
>
> svn
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/creating-FacilityManager-problem-tp4635074.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: creating FacilityManager problem

deb.panda
In reply to this post by shilpa
Hi Shilpa,

The service has to have FACILITY_CREATE, _UPDATE security permissions to be able to do so.
Please check cwiki for OFBIZ sercurity permission to associate a permission to a service.
 
Hope this helps.



-----shilpa <[hidden email]> wrote: -----


To: [hidden email]
From: shilpa <[hidden email]>
Date: 07/20/2012 06:01PM
Subject: creating FacilityManager problem

Hi Friend,

I am creating facility manager in my application,and calling in my
application ofbiz createfacility service.So that time getting bellow
mentioned error.Please check and guide me.

One more question is that can i use in  my application create facility
service.that is im only creating services not doing other operation like
creating an inventory,like that.please tell me shall i used ofbiz services
in my application .becoz now im getting facilitygenericpermission error..

2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [    
RequestHandler.java:648:INFO ] Ran Event
[service:component://product/servicedef/services_facility.xml#createFacility]
from [request], result is [error]
2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [    
RequestHandler.java:431:ERROR] Request CreateFacility caused an error with
the following message: You must be logged in to complete the [Main
permission logic] process.
2012-07-20 17:44:46,578 (http-0.0.0.0-8080-2) [    
RequestHandler.java:750:INFO ] Rendering View [EditFacility],
sessionId=4FD55262329883E9F829C0B7A67C63CD.jvm1



thanks

svn





--
View this message in context: http://ofbiz.135035.n4.nabble.com/creating-FacilityManager-problem-tp4635074.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


Thanks,
Dev Panda