Presentation is loading. Please wait.

Presentation is loading. Please wait.

Scale Up Access to your 4GL Application using Web Services

Similar presentations


Presentation on theme: "Scale Up Access to your 4GL Application using Web Services"— Presentation transcript:

1 Scale Up Access to your 4GL Application using Web Services
David Lund Sr. Training Program Manager, Progress

2 Session Focus Identification of the best places to use web services
Implementing Progress 4GL Web Services Identification of the best places to use web services Choosing web service standards and technologies Sample implementation of Progress 4GL Web Service Progress 4GL Web Services

3 Agenda Getting started Standards Web service provider Deployment
Progress 4GL Web Services Getting started Standards Web service provider Deployment Web service consumer Progress 4GL Web Services

4 How Does This Relate to SOA
Service Oriented Architecture (SOA) logic concept behind the physical implementations One type of physical implementation is web services Provider Communications Service Oriented Progress 4GL Web Services

5 The Value of Web Services
Connects applications together through agreed upon standards Share information between applications without writing a customized interface Application can be written in any language Provides an alternative method to access existing applications For example: Access business logic of a client server application over the web Progress 4GL Web Services

6 Common Business Logic The basics
OpenEdge® AppServer™ = Center of the business logic universe Ways to access business logic .NET™ Open Client 4GL Client Java™ Open Client Web services WebClient™ WebSpeed® OpenEdge Adapter for SonicMQ® Progress 4GL Web Services

7 Configuration Clients Server Client/ Server (Provider) OpenEdge
Application Server Web Service Client (Consumer) Progress 4GL Web Services

8 Sorting out the Acronyms
Standards Provider Deployment SOAP WSDL XML Schema Style/Use HTTP/HTTPS JSE Web Server WSA Session Model WSAD AppObj ProcObj SubAppObj WSM Consumer Progress 4GL Web Services

9 Agenda Getting started Standards Web service provider Deployment
Progress 4GL Web Services Getting started Standards Web service provider Deployment Web service consumer Progress 4GL Web Services

10 SOAP Standards Protocol for message exchange Independent Extensible
Lightweight & XML-based Independent Encoding Transport Language Platform Extensible Extra context via headers Supports message typing strong typing structured data SOAP Progress 4GL Web Services

11 WSDL Web Service Description Language
Standards This is the service contract Data type mapping SOAP message format How to call the Web service XML Document Created by Web service provider Used by Web service consumer SOAP WSDL Progress 4GL Web Services

12 XML Schema Standards Comprise of a set of agreed upon rules
Structure, Content, Semantics A means for defining for XML Documents Used to define formats for SOAP and WSDL messages Maps 4GL data types SOAP WSDL XML Schema Progress 4GL Web Services

13 OpenEdge WSDL Style/Use
Standards RPC/Encoded Messages use remote procedure call (RPC) model Data format uses SOAP data model Document/Literal Messages use XML Document model Defined as complex types in Types section Data format conforms to standard XML schema SOAP WSDL XML Schema Style/Use Progress 4GL Web Services

14 Web Services is Defined by Standards
A set of standards that comprise a platform for building distributed, interoperable applications Progress 4GL Web Services utilizes W3C standards WSDL 1.1 (W3C Note – de facto standard) SOAP 1.1 HTTP Binding 2001 XML Schema Progress 4GL Web Services

15 Agenda Getting started Standards Web service provider Deployment
Progress 4GL Web Services Getting started Standards Web service provider Deployment Web service consumer Progress 4GL Web Services

16 Open Client Object Model
Provider Always one Establishes connection External procedures Object App AppObj ProcObj SubAppObj Zero or more Shares connection Internal procedures/UDFs Proc Object Zero or more Shares connection External procedures AppObj Sub- Progress 4GL Web Services

17 WSM Web Service Mapping File
Provider Lists Objects Operations Identifies Session Model Initializes deployment information Created by ProxyGen AppObj ProcObj SubAppObj WSM Progress 4GL Web Services

18 Web Service Description
ProxyGen Tool App Object Proc Object 4GL Business Logic (r-code) Sub- AppObj Project file (.xpxg) Web Services Mapping file (.wsm) Web Service Description Language file (.wsdl) Log file (.log) Progress 4GL Web Services

19 ProxyGen Tool AppObj Selecting procedures ProcObj FindEmpByNum.r
ListDeptEmp.r ProcObj PersistenData.r Progress 4GL Web Services

20 ProxyGen Tool General Tab
Generation Options AppService Generated Proxy Progress 4GL Web Services

21 ProxyGen Tool Web Services Tab
Generation Options Session Model Namespace URL Style/Use Progress 4GL Web Services

22 Demonstration ProxyGen Progress 4GL Web Services

23 Agenda Getting started Standards Web service provider Deployment
Progress 4GL Web Services Getting started Standards Web service provider Deployment Web service consumer Progress 4GL Web Services

24 HTTP/HTTPS Deployment Communications Protocol
Used to transport SOAP messages SOAP 1.1 HTTP Binding Post/Response HTTPS SSL Securely send messages HTTP/HTTPS Progress 4GL Web Services

25 JSE Java Servlet Engine
Third party components… Deployment Runs servlets Progress 4GL Web Services deploys a servlet JSE’s available from 3rd party vendors Examples use Apache Tomcat Has built in Web Server Not recommended for production JSE HTTP/HTTPS Progress 4GL Web Services

26 Web Server Deployment Required Accepts HTTP/HTTPS communications
Third party components… Deployment Required Accepts HTTP/HTTPS communications Hosts JSE Web Server HTTP/HTTPS JSE Progress 4GL Web Services

27 WSA Web Services Adapter
Deployment WSA = Java™ servlet Runs in JSE Administers and provides access to deployed Progress 4GL Web services Decodes and encodes SOAP messages WSA HTTP/HTTPS JSE Web Server Progress 4GL Web Services

28 WSA in JSE on Web Server Consumer SOAP / HTTP HTTP Listener Web Server
Java Servlet Web Server SOAP / HTTP Progress 4GL Web Services

29 Session Model Deployment Session Managed Session Free
State-aware, State-reset, Stateless Holds resources Session Free Does not maintain any state Session Model HTTP/HTTPS JSE Web Server WSA Progress 4GL Web Services

30 WSAD Web Service Application Descriptor
Deployment Describes web service to the WSA Information on how to access AppServer application WSAD HTTP/HTTPS JSE Web Server WSA Session Model Progress 4GL Web Services

31 Demonstration Progress Explorer Deployment Progress 4GL Web Services

32 Agenda Getting started Standards Web service provider Deployment
Progress 4GL Web Services Getting started Standards Web service provider Deployment Web service consumer Progress 4GL Web Services

33 Service Consumer Calls the web service Typical Scenarios
Application to Application Business to Business Background End User Portions of application available Consumer Progress 4GL Web Services

34 The Client Consumer WSDL POST SOAP over HTTP Progress Other Response
Java™ .NET Progress Other Response SOAP over HTTP WSDL Progress 4GL Web Services

35 Putting It All Together
Client (Consumer) HTTP Listener WSA Java Servlet Web Server POST SOAP over HTTP Response SOAP over HTTP Server (Provider) OpenEdge Application Server Progress 4GL Web Services

36 Demonstration Server (Provider) Client (Consumer) Calling a Web
Service Client (Consumer) Progress 4GL Web Services

37 In Summary Identify where to use web services solutions
Implementing Progress 4GL Web Services Identify where to use web services solutions Choose the web service standards and technologies to suit your needs Use the examples to help in implementing your own web service solutions Progress 4GL Web Services

38 Documentation OpenEdge Development Web Services Progress 4GL Reference
Progress 4GL Web Services

39 Questions? Server Client/ Server Clients OpenEdge Application Server
Web Service Client Progress 4GL Web Services

40 Thank you for your time! Progress 4GL Web Services

41 Progress 4GL Web Services


Download ppt "Scale Up Access to your 4GL Application using Web Services"

Similar presentations


Ads by Google