【发布时间】:2015-03-25 18:42:19
【问题描述】:
我已从 WSDL 生成 Apex,但在调用标注时出现错误“无法解析标注响应。未找到元素产品的 Apex 类型。当我生成 WSDL 时,我知道它有一些事情要做,但不知道如何修复它或为什么。以下是我认为导致问题的部分。我知道还有其他解决方案,我也看过这些,但这似乎不同,因为 type="impl:..."
<complexType name="myVData">
<sequence>
<element name="products" nillable="true" type="impl:ArrayOf_tns1_VTP"/>
</sequence>
...
<complexType name="ArrayOf_tns1_VTP">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:VTP"/>
</sequence>
</complexType>
有人知道吗?谢谢!
【问题讨论】:
标签: soap wsdl salesforce apex