Gailey April/May 2002 XML & Web Services Magazine (c)2002 Fawcette Technical Publications A Simple Request Listing 1 Each request to a service hosted by .Net My Services, such as the one you see here, requires that a SOAP message be created and a response method be parsed and interpreted. 10011 http://schemas.microsoft.com/hs/2001/10/core#request http://glengatest c1c458b4-66e6-4207-8e01-b3952c647e46 ... ASP.Net Page Rendering Listing 2 Retrieved contacts' properties can be loaded into a table while using Web forms to render an ASP.Net page. //do once for each contact returned foreach(Object obj in qResponse.xpQueryResponse[0].Items) { myNameType name = (myNameType) obj; addressType address = (addressType) obj; telephoneNumberType phone = ( telephoneNumberType) obj; //create table row and cell objects TableRow row= new TableRow(); TableCell cell= new TableCell(); //load name columns cell.Text = name.surname.ToString(); row.Cells.Add(cell); cell.Text = name.givenName.ToString(); row.Cells.Add(cell); //load address column data cell.Text = address.street.ToString(); row.Cells.Add(cell); cell.Text = address.primaryCity.ToString(); row.Cells.Add(cell); cell.Text = address.subdivision.ToString(); row.Cells.Add(cell); cell.Text = address.postalCode.ToString(); row.Cells.Add(cell); //load address column data cell.Text = address.street.ToString(); row.Cells.Add(cell); //Add new row to table contactTable.Rows.Add(row); }