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.

Reply via email to