Ok, take a step back, I am thinking you are a bit confused with jbi binding
component & service engine.
The servicemix-http component is a binding component. Logically, binding
component doesn't provide any business logic, it essentially is a birdge to
communicate with external service.
service-engine provides the business logic in the JBI container, such as
servicemix-jsr181 component.

couple errors that you made in your example, firstly, it should be xbean.xmlnot
xbean.wsdl. 2nd, your HttpProviderService class provides business logic, it
should not in the binding component. You can also refer to [1],[2], or the
$servicemix/examples/wsdl-first and other examples to know better.

[1]
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-http/src/test/java/org/apache/servicemix/http/ProviderEndpointTest.java
[2]
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-http/src/test/java/org/apache/servicemix/http/HttpProviderTest.java

Reply via email to