Trouble creating issue via Webservice
I am having issues with the new webservice code, specifically the Components collection/array. the C# sample works fine (pointing at our webservice) but our VB code application has issues.
We have tried several methods and all seem to have issues. For example
ReDim Result.Components(0)
Result.Components(0) = New Countersoft.Gemini.Commons.IssueComponentEN
Result.Components(0).ComponentID = SomeFunctionReturningID()
line 3 says object reference not set to an instance of an object. Result.Components is length 1, but its nothing. Despite being initialised the line above to a new instance.
Have also tried declaring a new array of IssueComponentEN (size 1) and instantiating etc, but there are issues assiging Result.Components = MyNewArrayOfIssueComponentEN, I get the error unable to compare array (or something like that)
Any thoughts what's going wrong?
Simon@MailboxPro
· 1 |
|
Monday, September 17, 2007, 12:35:57 AM |