Guiseppe,
If I understand everything correctly, you can 'expose' any internal
(only available to ESB) endpoint to the outside world with this type of
syntax (it creates an external endpoint).
Gert
beppe82 wrote:
So, I plugged a servicemix-http-consumer configured as follows:
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:beppe="http://giuseppe.org">
<http:endpoint service="beppe:http" endpoint="soap" role="consumer"
targetService="beppe:validate"
locationURI="http://localhost:8192/cedac/"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"/>
</beans>
where beppe:validate is the SE/SU that already existed and that I wanted to
expose as a Web Service... it works!
I had not to write any WSDL... so the http-consumer takes care of all the
stuff automatically? It retrieves the autogenerated WSDL and manages SOAP
envelopes? It's great! :D
Please confirm my hypothesis, so this post shall be usefull for other
newbies.
Thanks, Giuseppe