Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Services Creation and Consumption in AllFusion ® 2E Paul Castleton - Manager, Development Laura Houchin - Senior Consultant Computer Associates USA.

Similar presentations


Presentation on theme: "Web Services Creation and Consumption in AllFusion ® 2E Paul Castleton - Manager, Development Laura Houchin - Senior Consultant Computer Associates USA."— Presentation transcript:

1 Web Services Creation and Consumption in AllFusion ® 2E Paul Castleton - Manager, Development Laura Houchin - Senior Consultant Computer Associates USA Session - 2F

2 Session Abstract This session will provide an overview of how selected action diagram statements from AllFusion 2E programs can be wrappered and deployed as Web Service components, to be called and consumed from other applications. Furthermore, AllFusion 2E has the ability to consume outside Web Service components as well…

3 Agenda: Accessing Web Services AllFusion Web Service consumption Install steps Screenshot demo

4 Why Web Services? Business logic that can be invoked through standard internet protocols Self-contained Self-describing

5 Service Oriented Architecture Broker Publish Find Bind Provider Requestor

6 Types of Web Services Business Information -Stock quotes -Currency conversion -Geographical data Business Integration -Reservation system -Credit check -Product catalogue

7 Web Services / SOA -Service and message- centric -Loosely coupled -Cross-domain IT infrastructure -Application-centric -Tightly coupled -Isolated silos -Dependencies on: Software infrastructure Hardware infrastructure HR Web App SAP Sales Web App Peoplesoft Order Processing Domino Exchange Database Process an Order Look-up Customer information Apply for a Mortgage New Dynamic Business Paradigm – SOA

8 Needed: True root cause analysis -web service fails -why? -Root cause… -Application logic? -ERP, mail, others? -Servers? -Database? -Network? -Hardware? -All of the above? New Business Paradigm Needs End-to-End Management HR Web App SAP Sales Web App Peoplesoft Order Processing Domino Exchange Database Process an Order Look-up Customer information Apply for a Mortgage

9 Web Services Benefits Provider Benefits - Reduce operating costs -Create a new revenue channel -New life to legacy applications -No distribution costs or time lag -No variation in user version and configuration

10 Web Services Benefits Benefits to Requestors -Programmatic access to wealth of information -Simply use Web services: no install, configuration, maintenance -Choice of providers Benefits to Both -Built on Open standards -JIT integration: service requestors have to agree only on interface and not on implementation

11 XML (Format/Language) SOAP (Invocation) UDDI (Registration/Lookup) WSDL (Definition) HTTP [FTP or SMTP] (Transport) Web Services Technology Stack Key Web service core technologies Foundation Technologies

12 Popular Stack Format Message Transport Service Definition Registry XML… SOAP, XML-RPC… HTTP, TCP/IP, SMTP WSDL, DAML-S … UDDI, ebXML… Generic Examples

13 AllFusion 2E: Web Services Support Run Time Web Service(s) Network x x x 2E Application

14 JAVA AllFusion 2E: Web Services Support COBOL x RPG x Web Service(s) RPG ILE COBOL ILE Run Time

15 AllFusion Joe: WS Consumption AllFusion® Joe Web Service WSDL WS Client Stubs (Java Jar file) Analyse Generate Development Time (Can invoke)

16 AllFusion 2E: Generate WS Proxy WS Client Stubs (Java Jar file) 2E r8.1 Tool YGENWSPXY (*CMD) Analyse Create WS Proxy + Array + Field Model Definitions (Similar to EXCUSRPGM) RPGLESRC + Development Time Compile WSPXY (RPG ILE *OBJ) (From Joe)

17 YGENWSPXY will create a 2E function definition in the model. The function type is new: Web Service Proxy WSPXY). WSPXY is a similar to an EXCUSRPGM, i.e. It does NOT have an Action Diagram. YGENWSPXY will automatically generate the source for the WSPXY function definition. NOTE: At release r8.1, YGENWSPXY will generate RPG ILE source. AllFusion 2E: Generate WS Proxy

18 AllFusion 2E: WS Support 2E Application Run Time Web Service(s) WS Stubs WS Proxy(WSPXY) x x Network

19 Install Notes: install Restore YCA structure Download third party jar files Initialise Web Option Install/configure AllFusion Joe r4.0

20 Generate Web Service Proxy mdllib/YWSPDEFFIL A dvantage 2E WSP: Default 2E File for WS Proxies mdllib/YWSPPRDPTH Advantage 2E WSP: Install path in the IFS mdllib/YWSPUSRPTH Advantage 2E WSP: User data path in the IFS

21 EJB Option: Screenshot demo

22 EJB Option:

23

24

25

26

27

28

29

30

31

32 EJB Option: Required 3 rd party jar files

33 YGENWSPXY Data Areas YWSPDEFFIL = default file for proxy functions (ships as blank) YWSPPRDPTH = default IFS install path /YCA/Advantage2EWSP/ProdData/ YWSPUSRPTH = default IFS user data path /YCA/Advantage2EWSP/UserData/

34 EJB Option:

35

36

37

38

39

40

41

42

43

44

45 Q&A CA Support Connect http://supportconnect.ca.com http://supportconnect.ca.com Edge user group http://edgeusergroup.org http://edgeusergroup.org


Download ppt "Web Services Creation and Consumption in AllFusion ® 2E Paul Castleton - Manager, Development Laura Houchin - Senior Consultant Computer Associates USA."

Similar presentations


Ads by Google