XFire中Services.xml 配置的一些细节

昨天第一次调XFire引擎,放在Tomcat里之后老是报错,检查了很久没有发现什么问题,一直很费解。

后来在网上看到一篇文章《XFire services.xml 配置文件补充说明》,根绝作者所说的:

在services.xml的配置文件中

<beans xmlns="http://xfire.codehaus.org/config/1.0">

引号中间的部分要全部小写,结果如作者所说改了之后果然调成功了!据说是官方说明。

感谢网友 中国八戒

附上自己services.xml的代码

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">

<service>

<name>HelloWorldService</name>

<namespace>
http://localhost:8080/HelloWorldService
</namespace>

<serviceClass>
pojo.IHelloWorldService
</serviceClass>

<implementationClass>
pojo.CHelloWorldService
</implementationClass>

</service>



</beans>



Then, we've got it
There, show me open air
原文地址:https://www.cnblogs.com/lzsu1989/p/2117719.html