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