]
Thomas Diesler updated JBWS-1909:
---------------------------------
Fix Version/s: jbossws-native-2.0.4
The native RequestHandler exposes implementation details
---------------------------------------------------------
Key: JBWS-1909
URL:
http://jira.jboss.com/jira/browse/JBWS-1909
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native, jbossws-jaxrpc
Reporter: Heiko Braun
Fix For: jbossws-native-2.0.4
The RequestHandler implementation that's being used with native carries an
implementation error:
It does cast the InvocationContext to a concrete implementation instead of relying on the
interface. This forces clients like the ESB to work with that particular implementation,
ServletRequestHandler in this case.
Here's the code:
public class RequestHandlerImpl implements RequestHandler
{
[...]
public void handleWSDLRequest(Endpoint endpoint, OutputStream outputStream,
InvocationContext context)
{
[...]
ServletRequestContext reqContext = (ServletRequestContext)context;
HttpServletRequest req = reqContext.getHttpServletRequest();
[...]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: