1 / 41

Scale Up Access to your 4GL Application using Web Services

Scale Up Access to your 4GL Application using Web Services. David Lund Sr. Training Program Manager, Progress. Session Focus. Implementing Progress 4GL Web Services. Identification of the best places to use web services Choosing web service standards and technologies

anisa
Download Presentation

Scale Up Access to your 4GL Application using 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. Scale Up Access to your 4GL Application using Web Services David Lund Sr. Training Program Manager, Progress

  2. Session Focus 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 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 Client/ Server Server (Provider) OpenEdge Application Server Web Service Client (Consumer) Progress 4GL Web Services

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

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

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

  11. WSDLWeb Service Description Language • 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 Standards SOAP WSDL Progress 4GL Web Services

  12. XML Schema • 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 Standards SOAP WSDL XML Schema Progress 4GL Web Services

  13. OpenEdgeWSDL Style/Use • 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 Standards SOAP WSDL XML Schema Style/Use Progress 4GL Web Services

  14. Web Services is Defined by Standards • Web Services • 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 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 App Object AppObj ProcObj SubAppObj • Zero or more • Shares connection • Internal procedures/UDFs Proc Object • Zero or more • Shares connection • External procedures Sub- AppObj Progress 4GL Web Services

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

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

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

  20. ProxyGen ToolGeneral Tab Generation Options AppService Generated Proxy Progress 4GL Web Services

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

  22. Demonstration ProxyGen Progress 4GL Web Services

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

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

  25. JSEJava Servlet Engine Third party components… • 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 Deployment JSE HTTP/HTTPS Progress 4GL Web Services

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

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

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

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

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

  31. Demonstration Progress Explorer Deployment Progress 4GL Web Services

  32. Agenda 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 POST SOAP over HTTP Java™.NET Progress Other Response SOAP over HTTP WSDL Progress 4GL Web Services

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

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

  37. In Summary 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

More Related