web-services - Delphi-7 WSDL 导入器错误 "The following types, referred to in the WSDL document are not being represented..."

标签 web-services delphi wsdl

将 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/

相关文章:

java - CXF JAX-WS 无法将参数发送到 Web 服务

java - jax-ws 绑定(bind) - 方法未重命名,而类则重命名

delphi - CTRL + 单击不起作用

delphi - :=什么时候不能作为赋值运算符工作?

java - 将 xml 文档(作为参数?)传递给 Web 服务

java - 在多个实例和单个数据库上的 Cloud Foundry Java 应用程序中提供数据一致性

java - Spring CXF Webservice 未正确部署

delphi - 向枚举类型添加新元素

c# - 如何使用 org.apache.axis.client.Stub 和 java.rmi.Remote 在 Java 中发送 header 消息?

python - 是否有人能够让 Python suds 与 Exchange Web 服务一起工作?