L.S.,

I think the problem is in the JBI endpoint URI you're using.  You want
to target the tns:GetDocs services where
xmlns:tns="http://www.bifit.com.ua/ibank2sap/";.  In this kind of
namespace uri, the / is considered the separator character so
jbi:endpoint:http://www.bifit.com.ua/ibank2sap/GetDocs/soap will
translate into service {http://www.bifit.com.ua/ibank2sap}GetDocs (no
trailing / in the namespace uri).  To ensure you get a trailing / in
the namespace URI, the jbi:endpoint URI should look like
jbi:endpoint:http://www.bifit.com.ua/ibank2sap//GetDocs/soap, with two
slashes in between the namespace and the service name (one being the
separator, the other one being part of the namespace uri.


Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 6 April 2010 16:01, andrey kalinichenko
<[email protected]> wrote:
>
> Hi!!!
>
> When i run a simple route
>
>        from("timer://tutorial?fixedRate=true&delay=3000&period=10000")   // 1
>            .setBody(constant(body))
>            .to("log:getDocs-request")//2
>
> .to("jbi:endpoint:http://www.bifit.com.ua/ibank2sap/GetDocs/soap";);
>
> i have the following error message:
>
> ERROR - TimerConsumer                  - Caught:
> org.apache.servicemix.camel.JbiException:
> javax.jbi.messaging.MessagingException: Could not find route for exchange:
> InOnly[
>  id: ID:192.168.1.189-127d3491ea2-3:0
>  status: Active
>  role: provider
>  in: <?xml version="1.0" encoding="UTF-8"?>
> <iban:GetDocsInParams
> xmlns:iban="http://www.bifit.com.ua/ibank2sap/";><iban:docType>ua_payment</iban:docType><iban:mfo>300335</iban:mfo></iban:GetDocsInParams>
> ] for service: null and interface: null
>
>
> a piece of my xbean.xml
> <beans xmlns:tns="http://www.bifit.com.ua/ibank2sap/";
> ...
>  <cxfbc:provider wsdl="classpath:ibank2sap.wsdl"
>                      service="tns:GetDocs"
>                      endpoint="soap" />
>
> and my wsdl
>  <wsdl:service name="GetDocs">
>    <wsdl:port binding="tns:ibank2sapSOAP" name="soap">
>      <soap:address location="http://localhost:8088/getDocs"/>
>    </wsdl:port>
>  </wsdl:service>
>
> After deploy i see in jconsole following info:
> org.apache.camel.endpoins:
> ...
> endpoint:http://www.bifit.com.ua/ibank2sap/GetDocs/soap
> ...
>
> org.apache.camel.processors:
> ...
> to2 - "To[jbi:endpoint:http://www.bifit.com.ua/ibank2sap/GetDocs/soap]";
> ...
>
> where is the problem?
>
> thanks.
> --
> View this message in context: 
> http://old.nabble.com/smx-camel.-Could-not-find-route-for-exchange%3A-InOnly-tp28152234p28152234.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to