将 NetSuite WSDL 导入 Delphi-7 会导致错误:
// The following types, referred to in the WSDL document are not being represented<br/>
// in this file. They are either aliases[@] of other types represented or were referred<br/>
// to but never[!] declared in the document. The types from the latter category<br/>
// typically map to predefined/known XML or Borland types; however, they could also<br/>
// indicate incorrechtt WSDL documents that failed to declare or import a schema type.<br/>
// ************************************************************************<br/>
// !:login - "urn:messages_2009_2.platform.webservices.netsuite.com"<br/>
// !:loginResponse - "urn:messages_2009_2.platform.webservices.netsuite.com"<br/>
// !:applicationInfo - "urn:messages_2009_2.platform.webservices.netsuite.com"<br/>
WSDL 位于:https://webservices.netsuite.com/wsdl/v2009_1_0/netsuite.wsdl 或者它可以与所有 XSD 一起从以下位置下载:https://system.netsuite.com/download/WSDL_v2009_1_0.zip
我看到了这个帖子http://forums.embarcadero.com/thread.jspa?messageID=157927但我没有发现 NetSuite 证书有任何问题。
任何解决此问题的帮助将不胜感激!
最佳答案
我通过使用 Delphi 2010 WSDL 导入器生成 Delphi 单元来帮助 Harry。它们无法在 Delphi 7 中编译。
这是他的 react :
I could not use that file with Delphi 7 because Delphi 7 does not support {$SCOPEDENUMS ON}
Scoped Enums是一个不错的功能,但很难向后移植到 Delphi 7。
关于web-services - Delphi-7 WSDL 导入器错误 "The following types, referred to in the WSDL document are not being represented...",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2187781/