Hi,

I am not sure that you need the starting '/'

should this not be jbi:service:http://www.company.com/PersonQueryIn";

 from("jbi:service:/http://www.company.com/PersonQueryIn";)
  .convertBodyTo(DOMSource.
>
> class)
>   .to(jbi:service:/http://www.company.com/PersonQuery);
>
>

also what have you defined the credoc namespace to be.

Edell.

On Wed, Aug 20, 2008 at 4:44 PM, stlecho <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I'm trying to use ServiceMix to make a call to an external webservice, but
> I
> have some difficulties in find the wright configuration.
>
> The WSDL used by the external webservice contains
>  <service name="PersonQuery">
>    <port name="PersonQuerySoap" binding="s0:PersonQuerySoap">
>      <soap:address
> location="http://vilcanota:7002/fphp/3.1/ws/PersonQuery.jws"/>
>    </port>
>  </service>
>
>
> Based on this WSDL definition, I've defined a cxfbc:provider with the same
> service and endpoint as defined in the WSDL.
>  <cxfbc:provider
>
> wsdl="https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws?WSDL=";
>
> locationURI="https://e-depottest.smals-mvm.be/fphp/3.1/ws/PersonQuery.jws";
>    service="credoc:PersonQuery"
>    endpoint="PersonQuerySoap"
>  />
>
> I've defined a JMS consumer, so that my clients can use JMS to connect to
> ServiceMix:
>  <jms:consumer
>    service="credoc:PersonQueryReceiver"
>  endpoint="jmsEndpoint"
>  targetService="credoc:PersonQueryIn"
>  destinationName="personquery.in"
>  connectionFactory="#connectionFactory"/>
>
>
> I've defined a simple Camel router that forwards the incoming JMS request
> to
> the cxfbc provider:
>
>  from("jbi:service:/http://www.company.com/PersonQueryIn";)
>   .convertBodyTo(DOMSource.class)
>   .to(jbi:service:/http://www.company.com/PersonQuery);
>
> When deploying this configuration, I'm receiving the following error:
> "<loc-message>org.apache.cxf.service.factory.ServiceConstructionException:
> Could not find definition for service
> {http://www.credoc.be/PersonQuery}PersonQuery<http://www.credoc.be/PersonQuery%7DPersonQuery>
> .</loc-message>"
>
> I've tried several options, but without any success :o(. Where should this
> PersonQuery service be defined ?
>
> Regards, Stefan.
> --
> View this message in context:
> http://www.nabble.com/Difficulty-in-configuring-external-webservice-call-tp19070587p19070587.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to