Seapine Labs
Personal tools

Talk:SDK C Sharp Tutorial

From Seapine Labs

Jump to: navigation, search

Visual Studio 2005 seem to have a problem with the ttsoapcgi.wsdl file. If I try to build a simple console application written in C#, it results in the following message:
'date' is an invalid value for the SoapElementAttribute.DataType property. The property may only be specified for primitive types.
According to this link others have the same problem with Visual Studio 2005, too. Replacing all System.Nullable<System.DateTime> strings with DateTime in the reference.cs file - as suggested on the above link - gives sufficient result, however this doesn't seem to be a nice solution. Moreover, I can't make the same "Replace All" heck in an asp.net project, because (I guess) the wsdl file is processed runtime, there is no reference.cs file. So I should edit the wsdl manually on the server, which is a pain, as at the moment I don't know what to look for.














Issue Management Software | Source Code Control Software | Test Case Management