2015-04-03 107 views
0

我創建了一個路線Apache的駱駝的WebService消費

cxf:cxfEndpoint id="testEndpoint" address="http://localhost:9003/ws" 
      serviceClass="pl.test.ws.testImpl" 
      wsdlURL="/META-INF/wsdl/test.wsdl" 
      endpointName="s:testSoap" 
      serviceName="s:testService" 
      xmlns:s = "https://test.pl/wsdl"/> 
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> 
     <route> 
     <from uri="direct:sendToTest" /> 
     <to uri="cxf:bean:testEndpoint" /> 
     </route> 
</camelContext> 

我怎麼能call這個Web服務通過將物體在direct:sendToTest路線?

我想能夠做一個肥皂request一些條件會被滿足,但我不知道我怎麼能從路線上的java類消息。

任何人都可以給我一個提示嗎?

回答