SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus...
Transcript of SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus...
![Page 1: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/1.jpg)
Building SAS Based
Web Services
Jonathan Williamson
Amadeus Software Limited
20th May 2003
![Page 2: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/2.jpg)
Slide 2 Copyright © 2003 Amadeus Software Limited
What Are Web Services?
• Generalised Communications Model
• Utilise standard Internet protocols– HTTP
– SOAP
– XML
![Page 3: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/3.jpg)
Slide 3 Copyright © 2003 Amadeus Software Limited
How Do They Help Us?
• Data Storage Independence
• System Independence
• Remote access to data and processing power
![Page 4: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/4.jpg)
Slide 4 Copyright © 2003 Amadeus Software Limited
How Can We Build a SAS Web Service
• Microsoft .NET Framework (Visual Basic)– Web Service Interface
• SAS Integrated Object Model (IOM)– Access and Control SAS
• ActiveX Data Objects (ADO.NET)– Data Retrieval
![Page 5: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/5.jpg)
Slide 5 Copyright © 2003 Amadeus Software Limited
Web Service Code
<%@ WebService Language="vb"
Codebehind="Inventory.asmx.vb"
Class="SasStockController.SimpleInventory" %>
Public Class SimpleInventory
Inherits System.Web.Services.WebService
<WebMethod()> _
Public Function GetStockLevels( _
ByVal supplierRef As Integer) _
As DataSet
' Function Implementation
End Function
End Class
![Page 6: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/6.jpg)
Slide 6 Copyright © 2003 Amadeus Software Limited
Writing Clients
• Web Service Proxy Object
– Built by retrieving WSDL
– Manages conversion of parameters to XML
– Creates SOAP envelope
– Converts response
– Provides asynchronous operation
Web Service Client
Function Call
Result
Client PC
SOAP over HTTP
XMLProxy
Object
![Page 7: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/7.jpg)
Slide 7 Copyright © 2003 Amadeus Software Limited
Rich Client
Web Service System
Web Service Server
SAS ServerSAS IOM
and ADO
SOAP over
HTTP
XML
Rich Client
![Page 8: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/8.jpg)
Slide 8 Copyright © 2003 Amadeus Software Limited
ASP.NET Client
Web Service System
Web Service Server
SAS ServerSAS IOM
and ADO
Web Server
(ASP Client)
Web Browser
HTTP
SOAP over
HTTP
XML
![Page 9: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/9.jpg)
Slide 9 Copyright © 2003 Amadeus Software Limited
Browser Client
Web Service System
Web Service Server
SAS ServerSAS IOM
and ADO
SOAP over
HTTP
XML
Web Server
Browser Client
HTTP
![Page 10: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/10.jpg)
Slide 10 Copyright © 2003 Amadeus Software Limited
Web Service Clients
Web Service System
Web Service Server
SAS ServerSAS IOM
and ADO
Web Server
(ASP Client)
Web Browser
HTTP
SOAP over
HTTP
XML
SOAP over
HTTP
XML
Web Server
Browser Client
HTTP
SOAP over
HTTP
XML
Rich Client
![Page 11: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/11.jpg)
Slide 11 Copyright © 2003 Amadeus Software Limited
Conclusions
• Web services allow new levels of flexibility
• Different clients
• Immature technology– Still evolving
– Some things that should be possible are not – yet
![Page 12: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/12.jpg)
Slide 12 Copyright © 2003 Amadeus Software Limited
Any Questions?
![Page 13: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003](https://reader034.fdocuments.us/reader034/viewer/2022042215/5ebc7fb97ed78977ec214298/html5/thumbnails/13.jpg)
Slide 13 Copyright © 2003 Amadeus Software Limited
Contact Information
• Amadeus Conference Stand – Come and chat
• Email – [email protected]
• Amadeus Web Site– www.amadeus.co.uk