views:

166

answers:

0

Hello public,

Got a problem. While generating proxy classes getting warnings:

Schema Validation Errors: Error compiling schema

.

WSDL descriptor is public: http://eptstest-integra.sodra.lt/ora...tiAsmenis?wsdl

Have tried with Altova XML spy and SoapUI 3.5. Descriptors load well except WseWsdl3.exe tool.

Using such proxy class is ok until you get fault response, then everything is translated to "business exception". What to do? What is wrong with WSDL descriptors? Detailed WseWsdl3.exe generation message below:

Schema Validation Errors: Error compiling schema. Namespace: http://www.sodra.lt/insurance/xml/xsd/sodra-epts-101. Exception Message: Reference to undeclared attribute group 'http://www.sodra.lt/insurance/xml/xsd/sodra-epts-common:AtrGrupe_PranesimoMetaDuomenys'.. Line Number: 15. Line Position: 8
Schema Validation Errors: Error compiling schema. Namespace: http://www.sodra.lt/insurance/xml/xsd/sodra-epts-101. Exception Message: Type 'http://www.sodra.lt/insurance/xml/xsd/sodra-epts-common:Tipas_Klaida' is not declared.. Line Number: 13. Line Position: 10
Warning: Schema could not be validated. Class generation may fail or may produce incorrect results.
Finished processing WSDL file. Proxy written to : W:\work\wse30\surastiAsmenis\surastiAsmenis.cs