Re: [OFBiz] Users - Newbie question: creating a service
Posted by
Si Chen-2 on
Nov 14, 2005; 10:41pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Newbie-question-creating-a-service-tp136477p136478.html
Kind of hard to figure it out just from looking at this, but this
doesn't look right:
> <simple-method method-name="autoGenerateRequirements" short-description="Automatically generate requirements based on ATP">
> <set from-field="facilityId" field="searchMap.facilityId"/>
>
>
doesn't look right. It probably should be:
<set from-field="parameters.facilityId" .... >
because facilityId should be a part of your parameters Map.
If you're new to OFBiz, you might want to try writing your first
services in Java, if that's easier for you. Once you get familiar with
the concepts of OFBiz services, the minilang will be more intuitive.
Si
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users