For the http://localhost:8192/services/HelloWorldService?wsdl url
to display the wsdl, the servicemix-http needs to create / retrieve
a wsdl.  This can be done by:
 * using the wsdlResource attribute
 * if the target endpoint exposes a WSDL, it will be used
    note that the target endpoint must be activated before this endpoint

On 1/12/07, pascale4 <[EMAIL PROTECTED]> wrote:

Hi,
I exposed an external web service with http component (consumer-->provider).

This is the xbean.xml of provider

<http:endpoint
        service="ns1:HelloWorldServiceService"
        endpoint="helloWorldServiceServiceEP"
        role="provider"

locationURI="http://localhost:8080/helloworldws/services/HelloWorldService";

wsdlResource="http://localhost:8080/helloworldws/services/HelloWorldService?wsdl";
/>

and this is xbean.xml of consumer

<http:endpoint
        service="ns1:HelloWorldServiceServiceConsumer"
        endpoint="helloWorldServiceServiceEP"
        role="consumer"
        targetService="ns1:HelloWorldServiceService"
        locationURI="http://localhost:8192/services/HelloWorldService/";
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
/>

I modified client.html of wsd-first example to send a message, and I receive
correctly the response.

How can I invoke external web service through an application client? How can
I generate stub?

The link http://localhost:8192/services/HelloWorldService?wsdl doesn't
works.

Sorry, but I'm new to service mix.

Thanks a lot
Massimo
--
View this message in context: 
http://www.nabble.com/Accessing-web-service-through-client-stub-tf2965411s12049.html#a8296708
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to