Hi Matt, Your message has been moderated, else it would not have reached this Mailing List.
Please subscribe to the user ML for such questions and then use your email client. See why here http://ofbiz.apache.org/mailing-lists.html. You will get a better support, people can answer you on the ML. The wider the audience the better the answers you might get. Also it's more work for moderators who have to accept your messages as long as you have not subscribed. I'll personally no longer accept them (other moderators still could). Thanks This said, maybe this would be interesting: https://demo-trunk.ofbiz.apache.org/webtools/control/ServiceList?sel_service_name=solrProductsSearch ? HTH Jacques Le 06/07/2021 à 17:12, matt domanowski a écrit :
I am new to OFBiz but fairly familiar with ERPs in general. We are trying to make API calls into OFBiz using the Java classes. For example, something simple such as searching products from a stand alone Java app importing the OFBiz classes is proving very difficult. (See below example) .. ResultSortOrder resultSortOrder=new ProductSearch.SortKeywordRelevancy(); List<ProductSearchConstraint> productSearchList=new ArrayList<ProductSearch.ProductSearchConstraint>(); productSearchList.add(new ProductSearch.CategoryConstraint("*", true, true)); ProductSearch.searchProducts(productSearchList,resultSortOrder,delegator,visitId); .. Does anyone have examples on how to do this. There does not seem to be any examples online. We would prefer to use the Java classes directly as they are documented. The web services seem less developed and there also seems to be very little documentation on those.