But if you do need to go with it, you actually don't need to learn anything in particular about SOAP itself. ASP.NET will take care of wrapping your objects for you. You would just have something like:
WEB SERVICE:
public class MyWebService : System.Web.Services.WebService
{
[WebMethod]
public XmlDocument GetContentXml(int id)
{
// query database
// generate XmlDocument
XmlDocument xml = new XmlDocument();
// etc
return xml;
}
}
ASPX page:
public class MyPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
MyWebService service = new MyWebService();
XmlDocument xml = service.GetXml(id);
// etc
}
}
Of course it's a lot more involved than this little example, but you can see that I didn't touch SOAP at all -- I just had my web service return an XmlDocument object and then used it in my ASPX page.
Books ... I myself used Wrox's _Professional ASP.NET_, but its focus is on VB.NET, so to learn the language, I got O'Reilly's _Programming C#_.
HTH.
At 05:14 PM 1/16/2003 +0000, Ben Joyce wrote:
::::::::::::::::::::::::::::::::::hi all. just wondering if anyone can recommend a good book for learning how to build & use SOAP objects in c#/xml. My idea is that my app/website (plan to write both) will request data via SOAP. c# will talk to the database and return data in XML back to the calling code, where is is displayed.I've never used c#, very little XML and not touched SOAP so a good book is needed! suggestions appreciated! Cheers, .ben
Howard Cheng
http://www.howcheng.com/
howcheng at ix dot netcom dot com
AIM: bennyphoebe
ICQ: 47319315
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
