[
http://jira.jboss.com/jira/browse/JBWS-1909?page=all ]
Thomas Diesler updated JBWS-1909:
---------------------------------
Summary: RequestHandler.handlerWSDLResquest has dependency on Servlet API (was: The
native RequestHandler exposes implementation details )
RequestHandler.handlerWSDLResquest has dependency on Servlet API
----------------------------------------------------------------
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
Assigned To: Thomas Diesler
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