Delphi-7 Ошибка импортера WSDL Следующие типы, указанные в документе WSDL, не представлены

Импорт 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 находится по адресу: // !:loginResponse - "urn:messages_2009_2.platform.webservices.netsuite.com"
// !:applicationInfo - "urn:messages_2009_2.platform.webservices.netsuite.com"
0/netsuite.wsdl" rel="nofollow noreferrer">https://webservices.netsuite.com/wsdl/v2009 // 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"
0/netsuite. wsdl
или его можно загрузить вместе со всеми XSD-файлами по адресу: // !:loginResponse - "urn:messages_2009_2.platform.webservices.netsuite.com"
// !:applicationInfo - "urn:messages_2009_2.platform.webservices.netsuite.com"
0.zip" rel="nofollow noreferrer">https://system. netsuite.com/download/WSDL_v2009 // 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"
0.zip

Я видел эту тему http://forums.embarcadero.com/thread.jspa?messageID=157927, но я не обнаружил проблем с сертификатом NetSuite.

Любая помощь в решении этой проблемы будет оценена по достоинству!


person harry    schedule 02.02.2010    source источник
comment
Он отлично работает в Delphi 2010; если вам нужны сгенерированные единицы, дайте мне знать (просто напишите мне имя на фамилию точка com).   -  person Jeroen Wiert Pluimers    schedule 03.02.2010
comment
Может пора обновить. У меня аналогичная проблема с Delphi 6, и я обновляюсь до Delphi 2010. Будет сложно вернуться к использованию Delphi 6 для одного большого проекта.   -  person Hugues Van Landeghem    schedule 04.02.2010


Ответы (1)


Я помог Гарри, сгенерировав модули Delphi с помощью импортера Delphi 2010 WSDL. В Delphi 7 они не компилируются.

Это была его реакция:

Я не мог использовать этот файл с Delphi 7, потому что Delphi 7 не поддерживает {$SCOPEDENUMS ON}

Scoped Enums — хорошая функция, но ее сложно портировать. на Делфи 7.

person Jeroen Wiert Pluimers    schedule 12.04.2011