camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From visualjeng <j...@itri.org.tw>
Subject SOAPFaultException: BindingOperationInfo must be specified
Date Thu, 28 Jul 2011 07:52:00 GMT
我將一camel專案deploy於ServiceMix 4.3.0上, 
然後於client side 呼叫該Web service, 
1. 於 ServiceMix console 成功出現client side 傳入參數
2. 但於client side console(Eclipse) 出現已下錯誤訊息:
....SOAPFaultException: BindingOperationInfo must be specified....

camel-context.xml 內容如下:

<route>
      <from uri="cxf:bean:externalWSEndpoint" /> .......input: Labor number,
output: Labor name
      <bean ref="myTransform" method="transform"/>......print Labor number,
return Labor number
      <to uri="cxf:bean:externalWSEndpoint1"/>.......input: Labor number,
output: Labor name
</route>

<bean id="myTransform" class="tw.org.jeng.camel.MyTransform">
       <property name="value"><value>168168</value></property>
</bean>

<cxf:cxfEndpoint id="externalWSEndpoint"
    	address="http://localhost:8181/cxf/PersonService(codefirst)"  
    	serviceClass="jeng.codefirst.PersonImpl">  
    <cxf:properties>
        <entry key="dataFormat" value="POJO"/>
        <entry key="setDefaultBus" value="true"/>
    </cxf:properties>	
</cxf:cxfEndpoint>
    
<cxf:cxfEndpoint id="externalWSEndpoint1"
    	address="http://localhost:8181/cxf/PersonServiceCF"   
	wsdlURL="file:D:/tmp/test1.wsdl"
	endpointName="ns2:PersonImplPort"
	serviceName="ns2:PersonService"
	xmlns:ns2="http://codefirst1.jeng/"
    serviceClass="jeng.codefirst1.Person">
    <cxf:properties>
        <entry key="dataFormat" value="POJO"/>
        <entry key="setDefaultBus" value="true"/>
    </cxf:properties>
</cxf:cxfEndpoint>

有人可幫我嗎? 教我如何解決嗎?

--
View this message in context: http://camel.465427.n5.nabble.com/SOAPFaultException-BindingOperationInfo-must-be-specified-tp4641616p4641616.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message