LegStar User Guide

1.5.2

Copyright (C) 2012 LegSem

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

http://www.gnu.org/licenses/lgpl-2.1.html


Table of Contents

1. Introduction
What is LegStar?
Features overview
Development time features
Runtime features
Common use cases
2. Architecture
Expose a COBOL program as a Web Service
Development tools
Runtime services
Consume a Web Service or POJO from a COBOL program
Development tools
Runtime services
3. Installation
Installing LegStar
Pre-requisites
Installing
Uninstalling
Running the ant samples
Installing LegStar modules for z/OS
Pre-requisites
Installing
Compile and link-edit LegStar programs
Installing LegStar plugins for Eclipse
Pre-requisites
Installing
Uninstalling
4. Using LegStar
Using ant scripts
Expose a COBOL program as a Web Service
Consume a Web Service from a COBOL program
Using Eclipse plugins
Expose a COBOL program as a Web Service
Consume a Web Service from a COBOL program
5. Wrap up
A. Code snippets
Using generated tranformers
Running Host/Java Transformers
Running Host/XML Transformers
Running Host/JSON Transformers

List of Figures

2.1. Service adapter development steps
2.2. Service adapter runtime
2.3. Service proxy development steps
2.4. Service proxy runtime
4.1. LegStar menu and toolbar options
4.2. Adapter structures mapping screen select source
4.3. Adapter structures mapping screen editor
4.4. Adapter structures mapping screen results
4.5. Adapter COBOL Transformers generation menu
4.6. Adapter COBOL Transformers generation parameters screen
4.7. Adapter COBOL Transformers generation screen results
4.8. Adapter service generation screen new operation
4.9. Adapter service generation screen editor
4.10. Adapter service generation screen operation mapping
4.11. Adapter service generation screen structures mapping
4.12. Adapter service generation screen operation mapping done
4.13. Adapter service generation screen select target
4.14. Adapter service generation screen parameters
4.15. Adapter service generation screen results
4.16. Proxy WSDL structures mapping screen select source
4.17. Proxy XSD structures mapping screen editor
4.18. Proxy XSD structures mapping screen results
4.19. Proxy COBOL Transformers generation menu
4.20. Proxy COBOL Transformers generation screen parameters
4.21. Proxy COBOL Transformers generation screen JAXB options
4.22. Proxy COBOL Transformers generation screen results
4.23. Proxy service generation screen new operation
4.24. Proxy service generation screen operation mapping done
4.25. Proxy service generation screen select target
4.26. Proxy service generation screen parameters
4.27. Proxy service generation screen results