http://voh.russianpost.ru:8080/niips-operationhistory-web-ml/OperationHistory?wsdl
[dcc32 Error] OperationHistory.pas(534): E2003 Undeclared identifier: 'mustUnderstand'
[dcc32 Error] OperationHistory.pas(538): E2005 'mustUnderstand' is not a type identifier
[dcc32 Error] OperationHistory.pas(543): E2005 'mustUnderstand' is not a type identifier
[dcc32 Error] OperationHistory.pas(941): E2005 'mustUnderstand' is not a type identifier
[dcc32 Fatal Error] main.pas(26): F2063 Could not compile used unit 'OperationHistory.pas'
// ************************************************************************ //
// 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 Embarcadero types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:int - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:boolean - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:dateTime - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:integer - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:string - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:mustUnderstand - "http://schemas.xmlsoap.org/soap/envelope/"[GblAttr]
我不知道如何解决错误
答案 0 :(得分:1)
我尝试将WSDL导入Visual Studio,而mustUnderstand
的类型为boolean
。 (正如预期的那样)。
因此,如果您将此行添加到您的pasfile mustUnderstand = boolean;
,那么它就会编译。
必须在所有其他类型声明之后添加该行