Sorry for all the noise.
The problem was tracked down to duplicate declaration of "export" attribute
in some service elements.
the xml was syntatically incorrect and hence not loaded.

regds
mallah.

On Thu, Oct 31, 2019 at 9:23 PM Rajesh Mallah <mallah.raj...@gmail.com>
wrote:

>
> Sorry pls ignore previous observation.
>
>  Many services with groovy are getting exported
>
> Looks like none of the services defined in are getting loaded.
>
> --> file:
> /opt/ofbiz/ofbiz-latest/applications/product/servicedef/services.xml
>
> <service name="createProductCategory"
> default-entity-name="ProductCategory" engine="groovy"
>
> location="component://product/groovyScripts/product/category/CategoryServices.groovy"
> invoke="createProductCategory" auth="true" export="true">
>
> in  /opt/ofbiz/ofbiz-latest/applications/product/ofbiz-component.xml the
> above file is
> already referred.
>
>     <service-resource type="model" loader="main"
> location="servicedef/services.xml"/> <-------------------------------------
>     <service-resource type="model" loader="main"
> location="servicedef/services_facility.xml"/>
>     <service-resource type="model" loader="main"
> location="servicedef/services_feature.xml"/>
>     <service-resource type="model" loader="main"
> location="servicedef/services_inventory.xml"/>
>
> regds
> mallah.
>
>
>
>
> On Thu, Oct 31, 2019 at 7:14 PM Rajesh Mallah <mallah.raj...@gmail.com>
> wrote:
>
>> Hi ,
>>
>> In my installation using ofbiz trunk service using groovy engine are
>> not getting exported inspite of export="true" attribute in service xml
>> files.
>>
>> other engine methods are getting exported.
>>
>> Please suggest where should i check.
>>
>> Regds
>> mallah.
>>
>

Reply via email to