sas web services - lex jansen · building sas based web services jonathan williamson amadeus...

13
Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20 th May 2003

Upload: others

Post on 14-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAS Web Services - Lex Jansen · Building SAS Based Web Services Jonathan Williamson Amadeus Software Limited 20th May 2003

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

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

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

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

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

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

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

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

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

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

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

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

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