xfire两则

1、生成客户端stub时:Thrown by JAXB : undefined element declaration ‘s:schema’

解决方法:

删除

<s:import namespace=”http://www.w3.org/2001/XMLSchema"/&gt;

and

<s:element ref=”s:schema” />

不要手软,全部格杀勿论。

2、XFireFault: Could not marshall type

namespace相同的两个webservice生成stub时,会覆盖ObjectFactory.java

解决办法:

备份,合并,还有其它办法吗?好像没有了。