目的在於:在系統啓動時,spring不立即查找遠程的服務Bean,而在請求該服務時查找
這是爲了避免:如果系統啓動時不能訪問遠程服務,系統就無法成功啓動,以致崩潰
<bean id="XXXX"
class="org.codehaus.xfire.spring.remoting.XFireClientFactoryBean">
<property name="serviceClass">
<value>com.XXXXX</value>
</property>
<property name="wsdlDocumentUrl">
<value>http://192.168.88.25:8080/XXXXXXXXXXXX.ws?wsdl</value>
</property>
</bean>