啓動服務:
Unrecognized xbean element mapping: services in namespace : http://xfire.codehaus.org/config/1.0
原來是這樣:
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service >
<name>smsservice</name>
<serviceClass>com.smsweb.www.webservice.ISmsService</serviceClass>
<implementationClass>com.smsweb.www.webservice.impl.SmsServiceImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
</service>
改成這樣:就可以了
<beans>
<service xmlns="http://xfire.codehaus.org/config/1.0">
<name>smsservice</name>
<serviceClass>com.smsweb.www.webservice.ISmsService</serviceClass>
<implementationClass>com.smsweb.www.webservice.impl.SmsServiceImpl</implementationClass>
<style>wrapped</style>
<use>literal</use>
<scope>application</scope>
</service>
因爲當前用的sprint的,不認得這個標註方式。