Error when deploing webservice

Error when deploing webservice

  

Hi,

I have a SOAP webservice that give me error bellow when I publish the espace. 

Module:CompilerService
Message:Structures.STAnswerValueStructure.cs(832,18): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STAnswerValueStructure.cs(832,17): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STAnswerValueStructure.cs(833,18): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STAnswerValueStructure.cs(833,17): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STAnswerValueStructure.cs(759,17): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STAnswerValueStructure.cs(760,17): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STAnswerValueStructure.cs(777,39): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STAnswerValueStructure.cs(778,39): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STResultStructure.cs(720,22): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STResultStructure.cs(720,21): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STResultStructure.cs(659,21): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STResultStructure.cs(668,47): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STVersionTokenStructure.cs(690,23): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic ty...
Environment Information
Stack:Structures.STAnswerValueStructure.cs(832,18): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STAnswerValueStructure.cs(832,17): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STAnswerValueStructure.cs(833,18): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STAnswerValueStructure.cs(833,17): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STAnswerValueStructure.cs(759,17): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STAnswerValueStructure.cs(760,17): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STAnswerValueStructure.cs(777,39): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STAnswerValueStructure.cs(778,39): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STResultStructure.cs(720,22): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STResultStructure.cs(720,21): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STResultStructure.cs(659,21): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STResultStructure.cs(668,47): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STVersionTokenStructure.cs(690,23): error CS0453: The type 'string' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.Nullable<T>'
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll: (Location of symbol related to previous error)
Structures.STVersionTokenStructure.cs(690,22): error CS0030: Cannot convert type 'ulong?' to 'string?'
Structures.STVersionTokenStructure.cs(631,22): error CS0030: Cannot convert type 'string' to 'ulong?'
Structures.STVersionTokenStructure.cs(639,49): error CS0030: Cannot convert type 'string' to 'ulong?'
Second stage compilation


Can someone help me ? 


if you have access to the wsdl, try to change the wsdl.

alter ulongs to decimal or string, so the import works better.

Make sure you do the right conversion afterwards, though.