开发者

JAXB Naming Collision Salesforce Integration

开发者 https://www.devze.com 2023-01-21 02:32 出处:网络
I\'m attempting to integrate with Sal开发者_开发问答esforce using MyEclipse. The wizard fails because of a naming collision on a complex type \"DescribeLayout\". I need to write a JAXB binding file to

I'm attempting to integrate with Sal开发者_开发问答esforce using MyEclipse. The wizard fails because of a naming collision on a complex type "DescribeLayout". I need to write a JAXB binding file to ensure that the two interfaces that are created by the xjc compiler are in different packages, but I have absolutely no idea how to do this.

I do not have the URI's to the schemas that make up the WSDL, only the URN's.


This blog post shows how to append a suffix to type names to avoid this. I'm not a JAXB expert, but presumably there is a way to configure it to use a different package instead of a suffix.

http://blog.teamlazerbeez.com/2009/05/23/salesforcecom-partner-soap-api-jax-ws-tutorial-part-1/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号