Login  Register

[OFBiz] Users - Iterating through version 3.1.0 services

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

[OFBiz] Users - Iterating through version 3.1.0 services

Leon Torres-2
123 posts
Hi everyone,

I'm trying to get the list of all available services from ofbiz 3.1.0 in
beanshell for indexing purposes. The latest APIs allow one to accomplish
this by doing the following,

dispatchContext = dispatcher.getDispatchContext();
serviceNames = dispatchContext.getAllServiceNames();

However, the getAllServiceNames() method doesn't exist in ofbiz 3.1.0, so how
should I be doing it?

- Leon


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [OFBiz] Users - Iterating through version 3.1.0 services

Leon Torres-2
123 posts
Aha, I found out how. I simply "backported" the getAllServiceNames method
and recompiled for my purposes. It seems to work. Sorry about bugging the
list. :-)

- Leon

> Hi everyone,
>
> I'm trying to get the list of all available services from ofbiz 3.1.0 in
> beanshell for indexing purposes. The latest APIs allow one to accomplish
> this by doing the following,
>
> dispatchContext = dispatcher.getDispatchContext();
> serviceNames = dispatchContext.getAllServiceNames();
>
> However, the getAllServiceNames() method doesn't exist in ofbiz 3.1.0, so
> how
> should I be doing it?
>
> - Leon
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users