I am using DMI operations with my DS.
One of the parameters of my method is a HttpServletRequest, which is passed automatically.
This works fine when the DSRequests come in via HTTP, but does not work when I create them on the server side.
When I do this, I get an exception, since the the reflection-using argument adapter and invoker can not find the required arguments.
I understand that no HttpServletRequest is available this time, but I need to get this information somehow to the method.
Getting a null would be just fine...
* * *
If I remove the attribute, then the DMI call succeeds, but I do not have the HttpServletRequest (and session), which I need.
How can I solve this?
One of the parameters of my method is a HttpServletRequest, which is passed automatically.
This works fine when the DSRequests come in via HTTP, but does not work when I create them on the server side.
When I do this, I get an exception, since the the reflection-using argument adapter and invoker can not find the required arguments.
I understand that no HttpServletRequest is available this time, but I need to get this information somehow to the method.
Getting a null would be just fine...
* * *
If I remove the attribute, then the DMI call succeeds, but I do not have the HttpServletRequest (and session), which I need.
How can I solve this?
Comment