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
Sharepoint
EXCEL ROUND
Mounted Drive (Supposedly) taking up all my Hard Drive space, how do I remove?
How do I run a script to move contents of a file to a different location
Simple SQL question, filter only gives records that have url, want null also
Problem with linespacing on Graphics.Drawstring
Silverlight UserControl with child UserControls
SQL 2008 - Need to use calcualted field in another calculation
Dell XPS 600 Power Supply Replacement
Print raw data to the printer: