-
1. Re: Why my ESB 3.4 not work?
davestanley May 6, 2009 12:16 PM (in response to cnhome)It seems like the http-component may not be on your classpath.
There is an example that ships with Fuse ESB below "examples/basic" that also uses the same activationSpec approach. I would try and build that demo and then tweak it to suit your needs.
Also, please note that the http/jsr181 approach has been superceded by the cxfbc/cxfse components. It would also be worth looking at the /examples/cxf-wsdl-first sample, as this would be the recommended way to implement wsdl first service endpoints.
Hope this helps
/Dave
-
2. Re: Why my ESB 3.4 not work?
cnhome May 8, 2009 2:46 AM (in response to davestanley)Thanks!
I find some useful documents in http://servicemix.apache.org/servicemix-http.html.
Classpath issues when embedding servicemix-http component
When using the servicemix.xml configuration file to create http endpoints, you must include the servicemix-http-xxx.jar in your classpath.
You will find this file inside the component installer (./components/servicemix-http-xxx.zip).
Failing this, an IllegalArgumentException will be thrown with the following message:
Component name: xxxxxx is bound to an object which is not a JBI component, it is of type: javax.xml.namespace.QName
I would try it.
Edited by: cnhome on May 8, 2009 6:45 AM