1 / 9

Unit 6 Web Services

Unit 6 Web Services. Creating & Consuming. Agenda. What are web services Associated terms Creating web services Consuming web services Naming conventions Information Hiding. What are Web Services. Web services are methods on the web that serve a specific purpose. Web services.

osmond
Download Presentation

Unit 6 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. Unit 6Web Services Creating & Consuming

  2. Agenda • What are web services • Associated terms • Creating web services • Consuming web services • Naming conventions • Information Hiding

  3. What are Web Services • Web services are methods on the web that serve a specific purpose.

  4. Web services • Suggestions for creating web services • Inputs and sometimes outputs • No GUI, no HTML • Disparate systems

  5. Associated terms • Communicate over HTTP • Describe themselves using WSDL • Can be discovered using UDDI • XML is the basis for Web services • SOAP is the protocol that defines how web services function.

  6. Creating web services • Use application root • Add a web service file & set name • ASMX • Note web address – namespace • Modify sample code • Data type (returning variable) = Data type (output variable in header)? • Run and review

  7. Consuming a web service • Identify your needs • Verify what the web service can provide • Add a web reference to point to it • Name the web reference • In the file, import a namespace using the same name • Instantiate a web service and supply the inputs the method requires

  8. Consuming, for example • 1. Find the web service • 2. Add a web reference • 3. Insert a namespace • 4. Create a web service object • 5. Use it!

  9. Information Hiding … orWhat can you tell from a web service? • What it does • Inputs • Outputs • What it is called • Web service name • Web method name

More Related