Friday, December 14, 2007

Using the Seapine TestTrack SOAP API

Our organization has been using the Seapine Test Track defect management system for about a year and recently I had to migrate defects from the existing custom defect tracking system to Seapine. The migration process involved the use of the SOAP API made available by Test Track.

However, upon using the SOAP API, I kept getting the error

date' is an invalid value for the SoapElementAttribute.DataType property. The property may only be specified for primitive types


After spending some time with google and msdn, I found a couple of links which attributed the problem to incompatibilities in the proxies generated by .NET 1.1 and .NET 2.0.

Till this point of time, I was always using a live reference from my C# application to the web-service. Upon generating a proxy class using wsdl and replacing all
System.Nullable strings with DateTime in the generated class file, I was able to use the SOAP API without any further problems.

1 comment:

Anonymous said...

This is my first time visiting your blog. I didn't know that you have a blog. :) I just found this link from LinkIn Profile. Your blog is great, man :)