D
DaveO.
Hello,
I'm calling a VB.NET web service, also from VB.NET, and I get the error
" Object reference not set to an instance of an object" on the
following line in Reference.vb, when it tries to make the call:
Dim results() As Object = Me.Invoke("Phys_Post", New Object()
{SessionID, a, b, c, d, CountList})
I can call other web services I've written just fine. This one is more
complex in that it has an arraylist of structures as a parameter. In
the past I've found that I need to instantiate this as an empty array
Dim counts As localhost.Physicalcountlist()
counts = New localhost.Physicalcountlist() {}
and not just declare its type. But I still get the error. The other
parameters are just integers and strings, no arrays. I understand what
the error is saying, but I can't figure out exactly what it's referring
to, or why it's happening.
Any suggestions?
Thanks,
DaveO.
I'm calling a VB.NET web service, also from VB.NET, and I get the error
" Object reference not set to an instance of an object" on the
following line in Reference.vb, when it tries to make the call:
Dim results() As Object = Me.Invoke("Phys_Post", New Object()
{SessionID, a, b, c, d, CountList})
I can call other web services I've written just fine. This one is more
complex in that it has an arraylist of structures as a parameter. In
the past I've found that I need to instantiate this as an empty array
Dim counts As localhost.Physicalcountlist()
counts = New localhost.Physicalcountlist() {}
and not just declare its type. But I still get the error. The other
parameters are just integers and strings, no arrays. I understand what
the error is saying, but I can't figure out exactly what it's referring
to, or why it's happening.
Any suggestions?
Thanks,
DaveO.