Take a look at /framework/service/src/org/ofbiz/service/engine/
GroovyEngine.java... all you need to do to is create a map called
"result" in your groovy script and put your OUT parameters there.
The error below is just a type mismatch... groovy strings in with
variables in them (${ex}) are
Can you please give some examples of groovy services which return a List?
Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com
On Wed, Apr 14, 2010 at 7:53 PM, Robert Morley wrote:
> We had a period of time where people wrote some services in groovy.
> However, in our Ob
We had a period of time where people wrote some services in groovy.
However, in our Obiz code we report the same error as what is listed
here (with testGroovy). The groovy services we currently have in play
(for the most part) have no OUT parameters and the ones that do return
a GenericEn
gt;> hope following code will help you.
>>>
>>> >> invoke="ShowProductionRun.groovy"/>
>>>
>>> Thanks and Regards
>>> Brajesh Patel
>>>
>>> Kranti Agrawal wrote:
>>>
>>>> Hi,
>>>>
>>>> Can I call a groovy file as a service?
>>>>
>>>> Regards,
>>>> Kranti Agrawal
>>>> Student, IIIT Bangalore
>>>> krantiagrawal.blogspot.com
>>>>
>>>
>>
>
; invoke="ShowProductionRun.groovy"/>
>>
>> Thanks and Regards
>> Brajesh Patel
>>
>> Kranti Agrawal wrote:
>>
>>> Hi,
>>>
>>> Can I call a groovy file as a service?
>>>
>>> Regards,
>>> Kranti Agrawal
>>> Student, IIIT Bangalore
>>> krantiagrawal.blogspot.com
>>>
>>
>
Note that an event is not a service though...
Jacques
Brajesh Patel wrote:
Hi Kranti,
hope following code will help you.
Thanks and Regards
Brajesh Patel
Kranti Agrawal wrote:
Hi,
Can I call a groovy file as a service?
Regards,
Kranti Agrawal
Student, IIIT Bangalore
Hi Kranti,
hope following code will help you.
invoke="ShowProductionRun.groovy"/>
Thanks and Regards
Brajesh Patel
Kranti Agrawal wrote:
Hi,
Can I call a groovy file as a service?
Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com
Hi,
Can I call a groovy file as a service?
Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com