In services.xml, I defined a service of type "java". According to OFBiz documentation, this service received DispatchContext and Map as its parameters. How can I access the HTTP session and request from those input parameters?
I could not find an example in the OFBiz source about it. All the codes in the source use the event of type "java" in controller.xml, and this obviously provides HttpServletRequest as one of its input parameters.
