《周易》曰: 天行健,君子以自强不息(乾卦) 地势坤,君子以厚德载物(坤卦)
一、先看目录结构。-xfire +src -war -WEB-INF +class +lib二、再看\xfire\war\WEB-INF\build.xml和build.properties。build.xml
二、看web.xml,applicationContext.xml和xfire-servlet.xmlweb.xml
applicationContext.xml
xfire-servelt.xml
三、看service类,xfire对外都是开放接口,也只能是接口。
好到这里service配制好了,在cmd目录\xfire下运行ant build命令,编译class。然后在浏览器中运行http://localhost:8082/xfire/services/MathService?wsdl就可以看到xfire自动生成的wsdl了。四、再写client吧,先看application-client.xml,