在官方网站, 配置services.xml文件的内容是如下书写。
BookService
http://xfire.codehaus.org/BookService
org.codehaus.xfire.demo.BookService
org.codehaus.xfire.demo.BookServiceImpl
我照葫芦画瓢,可系统总是提示我“Unrecognized xbean element mapping: beans in namespace http://xfire.codehaus.org/config/1.0”错误信息。
开始以为是缺少哪个jar所至,后来经过反复查找,原来是xml定义错误。按照以下的写法之后,程序通过。
BookService
http://xfire.codehaus.org/BookService
org.codehaus.xfire.demo.BookService
org.codehaus.xfire.demo.BookServiceImpl
本文解决了一个关于services.xml配置的问题,作者最初遇到了“Unrecognizedxbeanelementmapping”错误,通过调整XML定义成功解决了该问题。
680

被折叠的 条评论
为什么被折叠?



