找不到“机会” SFDC (SalesForce) 中的课程
SalesForce 机会示例位于 http://www.salesforce .com/us/developer/docs/api/Content/sforce_api_objects_opportunity.htm#topic-title 首先使用“Opportunity”类。
由于某种原因,我根本无法在类路径中找到此类(或任何标准 SalesForce 类)。我可以找到其他类,例如“com.sforce.soap.partner.sobject.SObject”
任何想法或帮助都会非常有用。
提前致谢 -一个。
SalesForce Opportunity example at http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_opportunity.htm#topic-title uses "Opportunity" class to begin with.
For some reason I'm not able to find this class (or any Standard SalesForce classes) in the classpath at all. I'm able to find others classes though e.g. "com.sforce.soap.partner.sobject.SObject"
Any ideas or help will be very useful.
Thanks in advance
-a.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您已经导入了合作伙伴 WSDL,它是一个松散类型的 API,并且不包含任何具体类型(如 Opportunity)。示例代码适用于企业 API,它提供强类型 API,包括所有标准对象和您的自定义项,您需要为该示例导入企业 WSDL。
You've imported the partner WSDL, which is a loosely typed API, and doesn't include any concrete types (like Opportunity). The sample code is for the enterprise API, which provides a strongly typed API, including all the standard objects and your customizations, you need to import the enterprise WSDL instead for that example.