Click to See Complete Forum and Search --> : wsdl.exe: Schema validation warning


zleao
08-27-2007, 05:30 AM
Hi!

I'm trying to generate a .cs class from a .wsdl, using the program wsdl.exe. I'm using version 1.1 from microsoft visual studio .net 2003.
Wen i try to execute the wsdl.exe, the class e constructed but an error/warning is showned:
Schema validation warning: Type 'http://www.w3.org/2001/XMLSchema:datetime' is not declared.

Tha class still works, but in the fields that where supposed to be DateTime, are now string, so i had to ochenge them manually. Can anyone tell how can i resolve this problem? Do i have to include something in the wsdl? Or something in the command line, when i execute wsdl.exe?
THe command i used was: wsdl.exe WSSimplex.wsdl /language:CS

Thanks

Z