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
How do you group PowerPoint Objects on a slide
After SharePoint database restore Web Parts dont function
Crosstab with subquery
VB.NET Threading and sending data/objects between threads?
How do i display month abbeviations instead of months in the proposed solution
"Control <control> must be placed inside a form tag with runat=server" error
Exporting to Excel From Visual Foxpro Excel Object Creating 2 Digit Year, Not 4 Digit
Using web service in javascript for asp.net ajax-enabled web site
Web Services Cross Browser Support
csv delimeter problem when importing to adp