xml web services tuc goodwin 8/10/20151. agenda review: what is an xml web service? review steps to...
TRANSCRIPT
![Page 1: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/1.jpg)
XML Web Services
Tuc Goodwin
04/19/23 1
![Page 2: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/2.jpg)
Agenda
Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services
![Page 3: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/3.jpg)
Upcoming Schedule
WSDL, Schemas, and Proxies! (Oh, My) Serializations Intro to C# Debugging .NET 2.0 Creating Workflows in .NET 3.0 Object Thinking
![Page 4: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/4.jpg)
Review: What is XML Web Services?
Source: www.microsoft.com/net/basics/whatis.asp
![Page 5: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/5.jpg)
Review: Steps to Calling a Web Service
1. Add Web Service Reference
2. Add Credentials (if necessary)
3. Instantiate the Web Service Object
4. Invoke the Web Service methods
5. Process the Results
![Page 6: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/6.jpg)
Demo
This demo was adapted from an online article by Mike Gunderloy,
Coder To Developer(ISBN: 078214327X )
![Page 7: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/7.jpg)
Creating a Web Service
04/19/23 10
![Page 8: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/8.jpg)
Coding a Web Service
04/19/23 11
<WebMethod()> Public Function DateOnly() As String DateOnly = Date.Today.Date.ToString End Function
![Page 9: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/9.jpg)
Testing a Web Service
04/19/23 12
![Page 10: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/10.jpg)
Consuming a Web Service from a Web Form
04/19/23 13
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
![Page 11: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/11.jpg)
More Demo
Let’s look at some code!
![Page 12: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/12.jpg)
Summary
We…
Consumed a Web Service
04/19/23 15
![Page 13: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/13.jpg)
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
![Page 14: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/14.jpg)
Next Time…
We will continue to build from here…
WSDL, Schemas, and Proxies! (Oh, My)
04/19/23 17
![Page 15: XML Web Services Tuc Goodwin 8/10/20151. Agenda Review: What is an XML Web Service? Review Steps to calling a Web Service SharePoint Web Services](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649da35503460f94a9037b/html5/thumbnails/15.jpg)
Questions?
04/19/23 18