Pee-Lo 2003/04
32
Consume Data Sent by Pee-LoWS
XML Web Services
// create an instance of the proxy
wsService
= new peelowebservice();
// object returned by ShowHealthCareInfo
assembled into instance of
// HealthCare class
objHC
= wsService.ShowHealthCareInfo();
// extract the details from HealthCare object and display on the
form
txt_HI_HCName.Text
= objHC.strName;
txt_HI_HCID.Text
= objHC.strHCID;
.
.
txt_HI_HCCountry.Text
= objHC.strHCCountry;