昨天第一次调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>

相关文章:

  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-01-03
  • 2021-09-05
  • 2022-12-23
  • 2021-06-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-12-25
  • 2022-12-23
相关资源
相似解决方案