I've some problem with ListNumber??

Faterin

New member
Joined
Jul 17, 2011
Messages
2
Programming Experience
1-3
hi, I just create VB .NET web service by calling web reference and I found problem when I use this function.

VB.NET:
Dim MyService As New WebReference.XXXService

Dim ListNumber() As WebReference.ListNumber
ListNumber = New WebReference.ListNumber() {???}


MyService.getAXXXByYYY(ListNumber)

I don't know what's type of ListNumber. it's neither string or integer. so I can't set value in "???" and this is a declaration in wsdl.

VB.NET:
<xsd:element minOccurs="1" maxOccurs="unbounded" name="ListNumber" type="tns:ListNumber" />

what's the type of parameter that I should send into "getAXXXByYYY" ?? :'(
 
That's like saying that Button is neither String nor Integer. ListNumber is a type in its own right, just like Button, String and Integer. That is the type: ListNumber. You have to create a ListNumber object and assign that. You create a ListNumber object the same way you create any other object.
 
Back
Top