Delivering	CICS	Web	Services
for	CA	Gen	Applications
Ryan	Johnson
Mainframe
Response	Systems
Director	– Product	Development
MFX33E
2 ©	2015	CA.	ALL	RIGHTS	RESERVED.@CAWORLD #CAWORLD
©	2015	CA.	All	rights	reserved.	All	trademarks	referenced	herein	belong	to	their	respective	companies.
The	content	provided	in	this CA	World	2015	presentation	is	intended	for	informational	purposes	only	and	does	not	form	any	type	
of	warranty. The information	provided	by	a	CA	partner	and/or	CA	customer	has	not	been	reviewed	for	accuracy	by	CA.	
For	Informational	Purposes	Only	
Terms	of	this	Presentation
Agenda
WHAT IS DRIVING THE NEED FOR CICS WEB SERVICES
APPROACHES TO DELIVERING WEB SERVICES IN CA GEN
KEY BENEFITS
DELIVERING CICS WEB SERVICES WITH WEB SERVICES GENIUS
CREATING CICS WEB SERVICE DEFINITIONS
GENERATING CICS WEB SERVICES
1
2
3
4
5
6
Who	We	Are	and	What	We	Do
Web	Services	
GENius
•CICS	web	services	for	CA	Gen	
mainframe	applications
APMConnect
•CA	Gen	application	monitoring
Upgrade	
Console
•Automation	for	accelerating		
CA	Gen	upgrades
QA	Console
•Automated	QA	for	CA	Gen	–
Accelerates	DevOps
Access	Gen
•CA	Gen	developer	productivity	
acceleration
Application	
Modernization
•Migration	into	CA	Gen
•Platform	switch	with	CA	Gen
•Web	and	Mobile	delivery
CA	Gen	
Upgrades
•Upgrades	to	CA	Gen
•All	platforms,	all	versions
•Extensive	experience
CA	Gen	
Development
•Development	teams
•Onsite	CA	Gen	resources
•Offsite	CA	Gen	development
CA	Gen	
Consulting
•Performance	tuning
•Technical	configuration
•Architecture	and	Processes
Two	companies,	separate	brands
Common	ownership	and	control
q CA	Gen	services
q Application	modernisation
q Australian	private	company
q Established	2002
q Global	CA	Gen	services	partner
q Global	CA	Product	 reseller	
q Technology	partner	
q CA	Gen	productivity	 tools
q APM	and	Web	Service	tools
q UK	private	company
q Established	‘96,	acquired	‘07
What	is	Driving	the	Need	for	CICS	Web	Services?
Crucial	functions	are	locked	up	in	big	applications
Exposing	proven,	self-contained	functional	modules	 as	
services,	without	having	to	change	those	modules,	
means	existing	applications	become	valuable	assets
Majority	of	internet	access	now	mobile-based
Internet	usage	is	increasingly	mobile-based,	and	
organisations	need	to	quickly	expose	existing	
application	functions	from	their	application	portfolios
Emerging	new	architecture	patterns
Monolithic	 application	structures	can	be	incrementally	
exposed	as	Web	Services,	rather	than	undergoing	
expensive	“restructuring”	and	refactoringMicroservices
z/OS Mainframe
DB2 IMS
CICS
CA Gen
Application
Delivering	Web	Services	for	CA	Gen	Applications
Web Services GENius
(CICS Only)
Orchestration
Publication
SOAP to RESTful
CA Application Service Orchestrator
Security over
exposed RESTful
APIs
CA API Gateway
Web Services
CA Gen: SOAP Web Services
(Distributed platforms only)
z/OS	Mainframe
CAB
CAB
CAB
CICS	Web	(Pipeline)
SOAP
REST
Cobol Wrapper
“Exposed”	CAB
CAB
Web	Services	GENius	– Solution	Architecture
Generation
• Cobol	wrapper
• Import/Export	Copybooks
• Compile&link	 Cobol	Wrapper
• Build	REST	Service:	JSON	Schema+
• Build	SOAP	Services:	WSDL	
Developer	workstation
Define	Web	Services	from	
any	CAB/Pstep in	the	HE/CSE
HE/CSE
Distributed	environment
Application	
server
WSDL
JSON	Schema
Configuring	Your	Site	and	Models
A	single	windows	client
• Simple	clear	layout
• Interacts	with	Encyclopedia
• Enables	all	configuration
• Where	Web	Services	are	defined
Tree	nodes	are	hierarchical
• Root	node	for	site-level	config
• Model	for	model-specific	config
Drag	and	drop	to	replicate
• Configurations	 can	be	dragged	
from	one	model	to	another	model.
The	tree	view	of	all	the	
models	in	the	
Encyclopedia	shows	
each	candidate	Pstep
and	Action	Block
Object	property	
information	for	the	site,	
individual	 models	and	
each	web	service
Web	Services	interface
definition	area
Creating	Web	Services
..or	selecting	an	existing	Web	Service..
…	allows	the	Interface	definition	to	be	
named	and	the	URI	to	be	specified	so	the	
service	can	be	located
Every	part	of	the	
exposed	Web	
service	interface	
can	be	named	in	a	
way	that	makes	
sense	for	the	Web	
Service	consumer
A	context-click	on	the	selected	action	block..
Web	Service	definitions
• On	CABs	or	Psteps
• Multiple	Web	Services
Configured	as	required
• Named	as	needed
• Data	exposed	as	necessary
• Hide	or	Fix	any	attribute.
Each	data	item	can	be:
- Omitted
- Set	with	a	Fixed value,	or	
- Passed	through	(Variable)
Simple	click-to-generate
• Generate	single	or	multiple	WS’s
• Creates	Cobol	and	control	files
• Packaged	as	a	discrete	“Remote”
Build	the	generated	RMT	on	z/OS
• Supplied	 batch	job	for	Build,	OR
• Supplied	 ISPF	panel
Build	deploys	all	artefacts
• JSON/WSDL	created
• URI’s	operational	and	active.
Generating	Web	Services	– CSE	
Context	click,	and..	generate
Creates	all	the	files	ready	
for	building	on	z/OS..
..	and	a	“Remote”	containing	all	
required	artefacts	ready	for	Build.
Build	using	supplied	ISPF	panel
• Takes	the	generated	Remote	file
• Builds	all	artefacts	for	use
Deploys	all	artefacts	for	use
• JSON	and	Bind	files	for	RESTful	APIs
• WSDL	for	SOAP	Web	Services
• Active	on	nominated	URI’s
Can	be	customised
• Every	site	is	different
• Modular	design	for	customisation
• Talk	to	us	about	what	is	needed.
Building	Web	Services	– CSE	
Specify	the	location	of	the	
uploaded	Remote	file
And	see	the	build	results	for	each	Web	Service
Generate	&	Install	with	ISPF	panel
• Operates	on	a	single	Web	Service
• Specify	environmental	options
Generation	creates	all	WS	artefacts
• Cobol	wrappers	and	copybooks
• WSBind,	WSDL	and	JSON	Schemas
• Deployed	to	nominated	libraries
Can	be	customised
• Every	site	is	different
• Modular	design	for	customisation
• Talk	to	us	about	what	is	needed.
Generating	Web	Services	– HE
Standard	build	panel	allows	the	
Generate	and/or	Install	of	any	
defined	Web	Service
…	and	your	sites’	preferred	
environmental	options
..and	see	the	build	results	for	the	
Web	Service	Generation	&	Install
Migrating	Web	Services	Between	Models
Web	Services	can	be	dragged	and	dropped	between	models
• Once	defined,	 any	Web	Service	can	be	replicated	to	another	model	with	drag-n-drop
• Simple	method	removes	the	risk	of	incorrectly	re-defining	Web	Services	manually
The	target	model	for	the	existing	Web	Service
• Must	already	contain	the	same	action	block
• The	action	block	view	structures	should	match
• The	ancestry	for	that	action	block	must	be	in	place	
• And	the	target	model	has	been		configured	 for	Web	Services
Promotion	of	Web	Services	is	simple
• When	the	Web	Service	is	ready	to	be	migrated	“up”,	simply	drag-n-drop
• Once	migrated,	the	Web	Service	only	needs	to	be	Generated	and	Built.
Key	Benefits	of	Web	Services	GENius
Publish	CICS	Web	Services	directly	from	CA	Gen	mainframe	applications
• New	and	unique	 capability	to	deploy	SOAP	or	RESTful	Web	Services	on	Gen	applications
• Create	Web	Services	from	any	Pstep or	CAB	without	change	to	the	Gen	applications
Web	Services	GENius	simplifies	your	application	delivery
• No	new	layers	of	middleware		or	hardware	– leverage	what	you’ve	got
• Exploits	TCP/IP	and	IBM’s	CICS	Web	Services	infrastructure	development
• Insulates	developers	from	underlying	 technologies	 to	accelerate	Web	Service	delivery
No	need	for	re-training	development	teams	or	new	skill	sets
• Seamless	integration	with	CA	Gen	and	IBM	technologies
• Existing	development	teams	can	quickly	deploy	new	Web	Services.
More	Information
For	further	information
www.response-systems.com/solutions/genius
sales@response-systems.com
To	discuss	a	demonstration	or	software	evaluation	in	your	environment
Ryan	Johnson
ryan.johnson@response-systems.com
+1	(512)	333	1825	(US	cell)
+61	414	854	316	(AU	mobile)
16 ©	2015	CA.	ALL	RIGHTS	RESERVED.@CAWORLD #CAWORLD
Recommended	Sessions
SESSION	# TITLE DATE/TIME
MFX38E
Moving	to	new	processes	to	collaborate	with	you	to	
deliver	product	enhancements	that	matter
11/17/2015	at	4:00pm
MFX35S
Go	Mobile	to	Mainframe	with	CA	Gen	and	CA	App	
Services	Orchestrator
11/18/2015	at	3:00pm
MFX34S
Advanced	CA	Endevor®	Software	Change	Manager	
Processor	Coding	Techniques:	Practical	Techniques	to	
Streamline	and	Simplify	 your	Processors
11/19/2015	at	3:00pm
17 ©	2015	CA.	ALL	RIGHTS	RESERVED.@CAWORLD #CAWORLD
Must-See	Demos
Mobile-to-Mainframe
622P
Mainframe	Theater	6
Deliver	High-Quality	Apps	Faster	
620P
Mainframe	Theater	6

Delivering CICS Web Services for CA Gen Applications