Good evening Jacques,

Thanks for the response.  When you suggest using the 22.01 branch can I ask
how close this might be to general availability so that I can
decide whether to use that.  I have a friend that would like to try Ofbiz
in his factory so I am looking to reassure him that Ofbiz meets all of his
business requirements.  I

thanks and kind regards

Ernest

On Tue, Nov 7, 2023 at 4:25 PM Jacques Le Roux <[email protected]>
wrote:

> Hi Ernest,
>
> Indeed, the REST API plugin has been added after the creation of the 18.12
> branch : https://issues.apache.org/jira/browse/OFBIZ-11328
>
> So you will need to use the trunk or the 22.01 branch. We expect to create
> a 23.xx branch, but that's not quite sure.
>
> Jacques
>
> Le 07/11/2023 à 04:50, Ernest Hocking a écrit :
> > Good morning everyone
> >
> > I've tried to install the REST API plugin into 18.,12.08.   Running
> > ./gradlew build I get a series of errors similar to:
> >
> >
> /home/ernest/ofbiz-18.12.08/plugins/rest-api/src/main/java/org/apache/ofbiz/ws/rs/resources/OFBizServiceResource.java:9
> > 3: error: cannot find symbol
> >              if (service != null && service.isExport() &&
> > UtilValidate.isNotEmpty(service.getAction())) {
> >                                            ^
> >    symbol:   method isExport()
> >    location: variable service of type ModelService
> >
> > in OFBizServiceResource.java I see:
> >
> >   ModelService service = context.getModelService(serviceName);
> >              if (service != null && service.isExport() &&
> > UtilValidate.isNotEmpty(service.getAction())) {
> >
> > checking the class definition for ModelService  there appears to be no
> > method definitions for the isExport(),
> getAction(),isAuth(),getName().....
> >
> > so it appear that the plugin has not provided these additional methods.
> >
> > Any help in locating a fix would be appreciated
> >
> > thanks in advance
> >
> > Ernest

Reply via email to