`
lawrenst
  • 浏览: 45793 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

由wsdl生成stub时候的问题

阅读更多
由wsdl文件生成stub的时候,出现如下错误,网上搜索了得到如下的结果,

The "A class/interface with the same name 
"com.sforce.soap.partner.DescribeLayout" is already in use" error is 
from jaxb and, per spec, requires the user to remap any conflicting 
classes via the customization things.   HOWEVER, while debugging the 
salesforce stuff, I added a flag to wsdl2java to automatically remap 
conflicting classes (by appending a number to it, like 
DescribeLayout2).   If you are using the very latest trunk code, you 
can do:

wsdl2java -autoNameResolution -exsh true partner.wsdl

wsdl2java -autoNameResolution -exsh true enterprise.wsdl
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics