Block 9

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 14

Presented by:

Tim O’Brien
Senior Systems Engineer
Fujitsu Software Corporation

Introduction to Web
Services
Fujitsu Software Corporation

Customer Training Series

Fujitsu Computer Systems


Introduction to Web Services
■ Definition of Web Services

■ A look at some example Web Services

■ 3rd Party Web Services

■ Creating Web Services in COBOL

■ Converting legacy COBOL applications into Web


Services

■ Software as a service

PAGE 2 Fujitsu Computer Systems


Introduction to Web Services (Cont…)

■ The ultimate remote procedure call


technology/distributed object model
■ Components may be located and
executed anywhere on the Internet or a
local intranet

PAGE 3 Fujitsu Computer Systems


Introduction to Web Services (Cont…)

■ Standard web protocols such as HTTP and SMTP may


be used to communicate to remote components using
XML

■ SOAP (Simple Object Access Protocol) is the protocol of


choice

■ WSDL (Web Services Description Language) used to


define a web service

PAGE 4 Fujitsu Computer Systems


Introduction to Web Services (Cont…)
■ Universal Description, Discovery and Integration
(UDDI) provides mechanism for Web Services to
advertise their existence and to be discovered

■ Discovery Protocol (DISCO) defines a format for


documenting discovery information

PAGE 5 Fujitsu Computer Systems


Web Services in the .NET environment –
Code Sample

PAGE 6 Fujitsu Computer Systems


Web Service Code Sample

IDENTIFICATION DIVISION.
CLASS-ID. AREACODESERVICE AS "AreaCodeService" INHERITS
WEBSERVICE.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
CUSTOM-ATTRIBUTE WEBMETHOD CLASS
WEBMETHODATTRIBUTE.
REPOSITORY.
CLASS WEBMETHODATTRIBUTE AS
System.Web.Services.WebMethodAttribute"
CLASS SYS-STRING AS "System.String"
CLASS ARGUMENTEXCEPTION AS "System.ArgumentException“
CLASS WEBSERVICE AS "System.Web.Services.WebService"
PROPERTY STRING-LENGTH AS "Length".

PAGE 7 Fujitsu Computer Systems


Demo

PAGE 8 Fujitsu Computer Systems


Third Party Web Services
■ A whole new market of software services is springing up
on the internet

■ 3rd parties can create and advertise callable software


components as web services to the entire world

■ Microsoft has it’s Passport service in heavy usage, for


example

■ Other 3rd party Web Services are appearing daily

PAGE 9 Fujitsu Computer Systems


Creating Web Services in COBOL

■ Application considerations

■ Coding Web Services

■ Deployment steps

■ Testing Web Services

PAGE 10 Fujitsu Computer Systems


Demo

PAGE 11 Fujitsu Computer Systems


Converting Legacy COBOL applications
to Web Services
■ Application considerations

■ Guidelines and warnings

■ Complimentary conversions and use of new


technology

■ Deployment

PAGE 12 Fujitsu Computer Systems


Demo

PAGE 13 Fujitsu Computer Systems


Questions

PAGE 14 Fujitsu Computer Systems

You might also like