将NetSuite WSDL导入Delphi-7会导致错误:
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to predefined/known XML or Borland types; however, they could also
// indicate incorrechtt WSDL documents that failed to declare or import a schema type.
// ************************************************************************
// !:login - "urn:messages_2009_2.platform.webservices.netsuite.com"
// !:loginResponse - "urn:messages_2009_2.platform.webservices.netsuite.com"
// !:applicationInfo - "urn:messages_2009_2.platform.webservices.netsuite.com"
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证书有任何问题。
任何帮助解决这个问题都将不胜感激!
答案 0 :(得分:0)
我通过使用Delphi 2010 WSDL导入程序生成Delphi单元来帮助哈里。它们不能在Delphi 7中编译。
这是他的反应:
我无法在Delphi中使用该文件 7因为Delphi 7不支持 {$ SCOPEDENUMS ON}
Scoped Enums是一个不错的功能,但很难回传到Delphi 7。