groovy does not have anything to do with calling a service.
that is done thru the target and the controller.
grovvy is used to marshal and manipulate data for display or sending in
context to services.
review
http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams
all videos specifically #7
Ritesh Trivedi wrote:
Hi,
I am trying to call sendEmailFromScreen for a custom screen very similar to
EmailOrderScreens, the groovy script is one of the existing ones
ShopCart.groovy. sendEmailFromScreen service throws an exception groovy -
property request not found for class ShopCart.
I looked at similar code in e-commerce etc for sending email e.g.
OrderConfirmEmail - I dont see any difference in 2 calls.
Will appreciate any pointers...