cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conrad O'Dea (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-741) cannot invoke on endpoint implemented using Provider<DataSource>
Date Tue, 26 Jun 2007 14:44:26 GMT

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

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

    Attachment: cxf-datasource-test-2.tgz

Update to include POSTing of data to provider

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


Mime
View raw message