Your cxf endpoint needs the serviceClass attribute pointing to the
interface class containing @WebService, ... annotation-->

    <cxf:cxfEndpoint id="WS"

                     address="http://0.0.0.0:9191/training/WebService";

                     serviceClass="com.mycompany.example.CustomerService">


On Wed, Jun 5, 2013 at 12:18 PM, Jose <jagavi...@gmail.com> wrote:

> Hi, I am trying to invoke an external webservice from Camel. I have just
> the
> client classes as the webservice is provided by an external provider.
>
> I have a few questions about how to configure this endpoint in
> camelContext.
> So far I have jusT declared the external endpoint as follow:
>
> <cxf:cxfEndpoint id=&quot;service&quot;
>         address=&quot;http://&lt;IP>:<PORT>/<SERVICE_PATH>"
>         wsdlURL="http://<IP>:<PORT>/<SERVICE_PATH>?wsdl"/>
>
> I am getting an error saying that I need to specify the "serviceClass".
>
> Which would be the service class if the service is provided by a third
> party?. Do I need to specify one of the client classes?
>
> Thank you in advance.
>
> Jose
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Invoking-an-external-web-service-tp5733854.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Reply via email to