You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Conrad O'Dea (JIRA)" <ji...@apache.org> on 2007/06/26 16:44:26 UTC

[jira] Reopened: (CXF-741) cannot invoke on endpoint implemented using Provider

     [ https://issues.apache.org/jira/browse/CXF-741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Conrad O'Dea reopened CXF-741:
------------------------------


I'm reopening this issue as it's basically incomplete.  Invoking the provider via a HTTP GET is fine however using POST does not work. 

Test case to follow. 


> cannot invoke on endpoint implemented using Provider<DataSource>
> ----------------------------------------------------------------
>
>                 Key: CXF-741
>                 URL: https://issues.apache.org/jira/browse/CXF-741
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Conrad O'Dea
>            Assignee: Freeman Fang
>         Attachments: cxf-datasource-test-2.tgz, cxf-datasource-test.tgz
>
>
> Invoking on an XML/HTTP service implemented with the following provider: 
> @WebServiceProvider(serviceName = "TestProvider")
> @ServiceMode(value = Service.Mode.PAYLOAD)
> @BindingType(value = "http://cxf.apache.org/bindings/xformat")
> public class TestProvider extends AbstractProvider<DataSource> implements Provider<DataSource> {
>   ....
> }
> Results in the following stack trace: 
> java.lang.NullPointerException
>         at org.apache.cxf.frontend.SimpleMethodDispatcher.getMethod(SimpleMethodDispatcher.java:92)
>         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:51)
>         at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
>         at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>         at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:87)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:206)
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:67)
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:255)
>         at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:214)
>         at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:285)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
>         at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

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