[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1909) The native RequestHandler exposes implementation details
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Feb 18 03:20:35 EST 2008
[ http://jira.jboss.com/jira/browse/JBWS-1909?page=all ]
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list