Problem solved! I added input attribute in service declaration. Stupid
mistake :)

<service name="myJavaService" engine="java" invoke="myJavaService"
auth="true" location="org.ofbiz.myApplication">
        <attribute name="param_1" mode="IN"/>
        <attribute name="param_2" mode="IN"/>
        *<attribute name="myVariable" mode="IN"/>*
</service>

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/accessing-context-from-service-tp4023436p4023934.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to