|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
WebControl to consume and display Web ServiceHi,
Can I ask all you for a bit of advice? I need to create a Web Control component that consumes a WebService and displays the results as the control. I can get the Web service results, but dont know how to get the control to display the results of the transformed Xml! What base class should I use for my control? You don't have to work with Xml directly when using a webservice in
ASP.NET. It's much simpler than that. It's like calling a regular method when you invoke the proxy to the webservice's webmethod - you get the values back in the type that was declared in the web method. The ASP.NET framework would handle the low level stuff like the Xml serialisation/deserialisation.. It'll be clear once you do one of the quickstart tutorials on ASP.NET webservices and webapps. Andy George Leithead wrote: Show quoteHide quote > Hi, > > Can I ask all you for a bit of advice? > > I need to create a Web Control component that consumes a WebService and > displays the results as the control. I can get the Web service > results, but dont know how to get the control to display the results of > the transformed Xml! What base class should I use for my control?
Treeview SelectedNodeStyle Problem
Wizard control in 2.0 and dynamic items Passing values to user controls - naughty problem Why it doesn't work? web controls install Can't access webpage's controls from the code-behind file after putting it in a <asp:LoginView/> is this possible? Problem with spaces in values of the DataTextField property of datagrid control Interrogating cells on current row for GridView CheckBoxList Control column width |
|||||||||||||||||||||||