Only a detail :
I am able to connect to the url I mentionned in my xbean.xml thanks to a
web browser :
xbean.xml :
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:hello="urn:helloworld:bpel:bsoap">
<http:endpoint service="hello:HelloWorldOnHttp"
endpoint="HelloWorld"
role="consumer"
locationURI="http://localhost:8192/helloworldForHttp/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"
defaultOperation="initiate"/>
</beans>
Charles Souillard wrote:
Hi all,
I am trying to expose a service on sm-http component.
Now I want to call this service thanks to httpclient.
I get an error : Connection refused
I can see that sm-http is using o.a.sm.http.HttpComponent
So I had a look at the http binding example and I can see that this
sample is declaring a component in HttpConnector (o.a.sm.components.http)
I think HttpConnector is launching a http server and not HttpComponent ?
How does sm-http work ?????
Thanks
Charles