Author: Oreo | Posted on: 3/18/2010 5:12:10 PM | Views : 274

Hi,
I am trying to consume an array of strings from a webservice that I wrote.  I keep getting the error: "System.NullReferenceException: Object reference not set to an instance of an object."
I know I am doing some thing wrong at an extremely basic level, but it's not coming to me.
I have tried adding New but get the error that you can't declare arrays with New
Here is the dummed down webservice method:<WebMethod( _
            Description:="Testing ")> _
        Public Function TestArray(ByVal Address1 As String, ByVal zip As String) As String()
        Dim strTest(4) As String
        strTest(0) = "It's"
        strTest(1) = "a"
     &nb ...

Go to the complete details ...