You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Nathan Bryant (JIRA)" <ji...@apache.org> on 2007/10/03 23:23:51 UTC

[jira] Commented: (CXF-948) NullPointerException when ?wsdl url contains extra parameters

    [ https://issues.apache.org/jira/browse/CXF-948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532259 ] 

Nathan Bryant commented on CXF-948:
-----------------------------------

This is affecting me as well, in the embedded Jetty environment when creating the service using the Endpoint API. Seems like this should be fixed because the CXF JAX-WS client will sometimes request the WSDL this way.

> 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.