You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by shilpa <sh...@veninore.com> on 2012/07/20 14:31:41 UTC

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.

Re: creating FacilityManager problem

Posted by de...@tcs.com.
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 <sh...@veninore.com> wrote: -----


To: user@ofbiz.apache.org
From: shilpa <sh...@veninore.com>
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



Re: creating FacilityManager problem

Posted by S K Pradeep Kumar <s....@gmail.com>.
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 <sh...@veninore.com> 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.
>