NullPointerException when ?wsdl url contains extra parameters
-------------------------------------------------------------

                 Key: CXF-948
                 URL: https://issues.apache.org/jira/browse/CXF-948
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 2.0.1
         Environment: Tomcat 5.0.28
            Reporter: Ray Krueger


Deploying CXF via the CXFServlet, you will get a NullPointerException when your 
URL contains extra parameters...

This URL
http://localhost:8181/ws/soap/CurrencyExchange?wsdl&username=TEST&password=password

Causes this stack trace...
{noformat}
javax.servlet.ServletException
        
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:133)
        org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:271)
        org.apache.cxf.transport.servlet.CXFServlet.doGet(CXFServlet.java:253)
.........
java.lang.NullPointerException
org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:140)
        
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:129)
        org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:271)
{noformat}

The same url will blow with the following random stuff as well...

http://localhost:8181/ws/soap/CurrencyExchange?wsdl&BOOM

Anything after the ?wsdl seems to do the trick.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to