Ok... but in the case I use the wsdl-first client.html to call the service
exposed, it's actually a web service call, isn't it?
But what about this piece of the envelope?
<tns:GetPerson>
<tns:personId>
I wrote after that my message, and it works... but why?? I have not a
GetPerson service, nor obviously a personId parameter....
thanks, Giuseppe
Gert Vanthienen wrote:
>
> 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
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/help-about-Web-Service-tf4066713s12049.html#a11561395
Sent from the ServiceMix - User mailing list archive at Nabble.com.