当我使用ReadyAPI将wsdl链接转换为c#soap api类时,出现此错误
乘客详细信息RQ http://files.developer.sabre.com/wsdl/sabreXML1.0.00/ServicesPlatform/PassengerDetails3.3.0RQ.wsdl
Schema validation error: Schema with targetNamespace='http://services.sabre.com/sp/pd/v3_3' has invalid syntax. Undefined complexType 'http://services.sabre.com
/STL_Payload/v02_01:STL_Request_Payload' is used as a base for complex type extension. Line 8, position 6.
Schema validation error: Schema with targetNamespace='http://services.sabre.com/sp/pd/v3_3' has invalid syntax. Undefined complexType 'http://services.sabre.com
/STL_Payload/v02_01:STL_Response_Payload' is used as a base for complex type extension. Line 12, position 6.
Warning: Schema could not be validated. Class generation may fail or may produce incorrect results.
Warning: no classes were generated.
Warnings were encountered. Review generated source comments for more details.
答案 0 :(得分:1)
您是否在本地导入所有通用模式?您在Visual Studio中测试过吗?