JAXB 命名冲突 Salesforce 集成

发布于 2024-09-29 07:55:46 字数 169 浏览 0 评论 0原文

我正在尝试使用 MyEclipse 与 Salesforce 集成。由于复杂类型“DescribeLayout”上的命名冲突,向导失败。我需要编写一个 JAXB 绑定文件以确保 xjc 编译器创建的两个接口位于不同的包中,但我完全不知道如何执行此操作。

我没有构成 WSDL 的模式的 URI,只有 URN。

I'm attempting to integrate with Salesforce 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你的背包 2024-10-06 07:55:46

这篇博文展示了如何在类型名称中附加后缀以避免这种情况。我不是 JAXB 专家,但大概有一种方法可以将其配置为使用不同的包而不是后缀。

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

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文