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
Change the term "This product is licensed to" in Office 2003 on a Terminal Server
How to hide a startup form
edit ad add to xml fie
MS Access 2003 - Assign Current Date and Current time to two different keystrokes
Quick Launch Toolbar Office 2k7 - Roaming Profiles
WNetOpenEnum and WNetEnumResources problem
Windows XP ISO for HP Pavilion 750c
Putting functions in a VBA Macro in Excel or indenting as a macro.
How to add a 2nd DC that is an R2
SQL - Date calulation from current date