[OFBiz] Users - Disabling existing apps but still use
their services
Adrian Crum
adrianc at hlmksw.com
Fri Apr 22 12:06:27 EDT 2005
The downside to this approach is that the Party Manager application is
no longer accessible to anyone - including the OFBiz admin.
I have a different solution I'm composing right now, please stand by...
Jacopo Cappellato wrote:
> Hi Ashish,
>
> you have to comment (or delete) the last part of the
> party/ofbiz_component.xml file.
>
> The file should look as this:
>
>
> <ofbiz-component name="party"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/ofbiz-component.xsd">
>
> <resource-loader name="main" type="component"/>
> <classpath type="jar" location="build/lib/*"/>
> <classpath type="dir" location="config"/>
> <classpath type="dir" location="script"/>
> <entity-resource type="model" reader-name="main" loader="main"
> location="entitydef/entitymodel.xml"/>
> <entity-resource type="group" reader-name="main" loader="main"
> location="entitydef/entitygroup.xml"/>
> <entity-resource type="data" reader-name="seed" loader="main"
> location="data/PartyTypeData.xml"/>
> <entity-resource type="data" reader-name="seed" loader="main"
> location="data/PartySecurityData.xml"/>
> <service-resource type="model" loader="main"
> location="servicedef/services.xml"/>
> <service-resource type="eca" loader="main"
> location="servicedef/secas.xml"/>
> <!-- <webapp name="party"
> title="Party"
> server="default-server"
> location="webapp/partymgr"
> base-permission="PARTYMGR"
> mount-point="/partymgr"/>-->
> </ofbiz-component>
>
> Hope this helps,
>
> Jacopo
>
> Ashish Hareet wrote:
>
>> I want to disable the exising apps but still use the services defined
>> by them - java, simple-methods, etc...
>>
>> For example I don't want the user to get to the partymgr app by typing
>> the url in the browser
>> but my app's wants to use services defined in there. Is there a simple
>> way to do so
>> or am I supposed to add those service to my app's.
>>
>> I tried by not specifying the webapp tag in partymgr but that results
>> in an exception when my app
>> is loaded.
>>
>> Any Suggestions
>>
>> Thanks
>> Ashish Hareet
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>
More information about the Users
mailing list