1 / 15

XML Web Services

XML Web Services. Tuc Goodwin. Agenda. Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services. Upcoming Schedule . WSDL, Schemas, and Proxies! (Oh, My) Serializations Intro to C# Debugging .NET 2.0 Creating Workflows in .NET 3.0

marin
Download Presentation

XML Web Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XML Web Services Tuc Goodwin

  2. Agenda • Review: What is an XML Web Service? • Review Steps to calling a Web Service • SharePoint Web Services

  3. Upcoming Schedule • WSDL, Schemas, and Proxies! (Oh, My) • Serializations • Intro to C# • Debugging .NET 2.0 • Creating Workflows in .NET 3.0 • Object Thinking

  4. Review: What is XML Web Services? Source: www.microsoft.com/net/basics/whatis.asp

  5. Review: Steps to Calling a Web Service • Add Web Service Reference • Add Credentials (if necessary) • Instantiate the Web Service Object • Invoke the Web Service methods • Process the Results

  6. Demo • This demo was adapted from an online article by Mike Gunderloy, Coder To Developer(ISBN: 078214327X )

  7. Creating a Web Service

  8. Coding a Web Service <WebMethod()> Public Function DateOnly() As String DateOnly = Date.Today.Date.ToString End Function

  9. Testing a Web Service

  10. Consuming a Web Service from a Web Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myWebService As New localhost.Service1 If Me.RadioButton1.Checked Then Me.TextBox1.Text = myWebService.DateTime If Me.RadioButton2.Checked Then Me.TextBox1.Text = myWebService.DateOnly If Me.RadioButton3.Checked Then Me.TextBox1.Text = myWebService.TimeOnly If Me.RadioButton4.Checked Then Me.TextBox1.Text = myWebService.DayOfWeek End Sub

  11. More Demo Let’s look at some code!

  12. Summary • We… Consumed a Web Service

  13. Other Resources • www.microsoft.com/net • msdn.microsoft.com/net • www.gotdotnet.com • support.microsoft.com/webcasts • www.dnug.net • www.devx.com/dotnet/ • www.thedotnetmag.com • www.winnetmag.com • www.microsoft.com/mspress

  14. Next Time… We will continue to build from here… WSDL, Schemas, and Proxies! (Oh, My)

  15. Questions?

More Related