Hi,

Take a look at CxfBcProviderTest[1] as an example.
[1]https://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/test/java/org/apache/servicemix/cxfbc/CxfBcProviderTest.java

Freeman
On 2009-9-3, at 上午5:31, Brian Taylor wrote:


Sorry to bounce this, but I'm still getting a NPE on line 199. Any idea what
could result in the 'ei' variable becoming null?


Brian Taylor wrote:

Thanks Freeman for the quick response.

I'm attempting to route a message via the NMR to an external service
through the CXF BC. I've configured the Provider in the BC and placed the WSDLs (Concrete and imported Abstract) in ServiceMix's root (I'm unable to get the SUs to use the <classpath> in their xbean.xml). I'm getting a NPE at runtime (process()) in class CxfBcProvider.java at line 199. It appears the ei (EndpointInformation) variable was not instantiated during service
unit loading on ServiceMix startup.

Looking in the debug statements in the ServiceMix console upon startup I
noticed the following lines which might be some useful indicator but
unsure:

DEBUG - ConfigurerImpl - Could not find a definition for bean with id
[port uri here].http-conduit - no injection will be performed
DEBUG - ConfigurerImpl - Could not find a definition for bean with id
[service uri here] - no injection will be performed
...
DEBUG - HTTPConduit - Conduit [port uri here].http-conduit has been
configured for plain http.
...
DEBUG - CxfBcComponent - Service unit initialized

Respectfully,
Brian



Freeman Fang wrote:

Hi,

You may need take a look at the cxf-wsdl-first example shipped with kit.

Freeman
On 2009-9-2, at 下午10:05, Brian Taylor wrote:


Does anyone know of where I can get either an example of or
instructions on
how to set up SOAP Binding in CXF for the CXF BC? I couldn't find
them on
the Apache CXF site (
http://cwiki.apache.org/CXF20DOC/configuration.html
http://cwiki.apache.org/CXF20DOC/configuration.html  - Bottom of
page).
--
View this message in context:
http://www.nabble.com/CXF-BC%3A-SOAP-Binding-Example-tp25258212p25258212.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com






--
View this message in context: 
http://www.nabble.com/CXF-BC%3A-SOAP-Binding-Example-tp25258212p25266124.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to