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 label caption in report header
Unable to query for computers in the network - Windows SBS 2008 Console
How to change language in MS Access
Disabling MS Windows XP Automatic Updates / patching : it's greyed out
Winmail.dat attachments are occuring internally
Teradata SQL Macro not returning results
Optimal page-pool size, registry size, and IRPStackSize for a Windows 2000 Server
How do I auto-forward an email to an outside address and leave a copy on my system?
ISA 2004 Load Balancing mail & web on two adsl routers
Putting a variable into SQL