[jbossws-issues] [JBoss JIRA] Created: (JBWS-1909) The native RequestHandler exposes implementation details
Heiko Braun (JIRA)
jira-events at lists.jboss.org
Thu Nov 15 11:26:34 EST 2007
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-jaxrpc, jbossws-jaxws
Reporter: Heiko Braun
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