Hi,

Lately, I have been deploying JAX-WS web services into the ServiceMix CXF-SE
component and publishing them with the CXF-BC component. Everything was ok
until I tried to deploy a web service in a dispatch/provider style. My goal
is to work with message oriented synchronous exchanges between client and
server [1].

My basic code is the JAX-WS Dispatch/Provider Demo from the CXF distribution
[2]. The service unit´s configuration (xbean.xml) is more or less like this:

<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";>

    <cxfse:endpoint>
        <cxfse:pojo>
          <bean class="demo.hwDispatch.server.GreeterSoapMessageProvider" />
        </cxfse:pojo>
    </cxfse:endpoint>

</beans>

where GreeterSoapMessageProvider [3] should be the web service implementor.

The communication between BC SU and SE SU seems to be ok, but when a client
sends a soap message I get a null pointer exception in CXF SE Endpoint
(process method). I have debugged and it seems to fault the jbi destination
resolution.

I don´t know if this is a bug, future improvement or a configuration
mistake. Please, any ideas are welcome.

Thanks in advance,

Juanjo

[1] http://cwiki.apache.org/CXF20DOC/provider-services.html
[2]
http://svn.apache.org/repos/asf/incubator/cxf/tags/cxf-2.0.5-incubator/distribution/src/main/release/samples/jaxws_dispatch_provider
[3]
http://svn.apache.org/repos/asf/incubator/cxf/tags/cxf-2.0.5-incubator/distribution/src/main/release/samples/jaxws_dispatch_provider/src/demo/hwDispatch/server/GreeterSoapMessageProvider.java

Reply via email to