Microsoft
Software
Hardware
Network
Question : webservice: problem with enumerated element in xsd class vb.net vs2005
the xsd:
the xml
nse>
nseItem>
stringts_inciden
t_id>
strings_message_
id>
string
string
>
string
>
stringon>
onseItem>
nseItem>
stringts_inciden
t_id>
strings_message_
id>
string
string
>
string
>
stringon>
onseItem>
onse>
my problem:
I can't reference IndividualUpdateListRespon
seItem through IndividualUpdateListRespon
se
I can 't reference qts_incident_id through IndividualUpdateListRespon
seItem
I would expect to be able to reference
response.IndividualUpdateL
istRespons
e.Individu
alUpdateLi
stResponse
Item.qts_i
ncident_id
I can't get to elements under IndividualUpdateListRespon
seItem ...?
the xsd.exe (vs2005) built IndividualUpdateListRespon
seIndividu
alUpdateLi
stResponse
Item but I don't understand how to use it?
do I somehow add IndividualUpdateListRespon
seIndividu
alUpdateLi
stResponse
Item to IndividualUpdateListRespon
se myself?
I've attached the XSD classes and the build/bind from my dataClass
I need to build the response and build the itemListing by iterating through a datareader.
the dr returns 0 or more rows, 1 IndividualUpdateListRespon
seItem is built for each row ...
Answer : webservice: problem with enumerated element in xsd class vb.net vs2005
If you have a While loop, and you need to increase the size of the array each time through the loop, then you need to use Redim Preserve instead of just Redim, or you will lose the contents of the array.
Random Solutions
Is there a MAC equivalent for Windows Remote Desktop
Need Help Converting VB Script/WMI code into VB.NET Code (Remote Process Kill)
Secure SQL Server 2005 - Password recovery
What SQL versions are VSS aware?
XP Machine takes long time (3 mins) to logon
calendar control in reports using reporting services (SQL Server2005)
I need to refresh the form record when subform record is clicked on.
Access Links
Table design to enforce interesting constraint logic
File Copying through CopyFileEx of kernel32.dll in vb.net