WebSphere – Web Services wrapper RPG as Service Provider

8
1 Systems & Technology IBM Information ©Copyright IBM Corporation, 2004. All Rights Reserved. This publication may refer to products that are not currently available in your country. IBM makes no commitment to make available any products referred to herein. WebSphere – Web Services wrapper RPG as Service Provider Dan Hiebert 507-253-0732 [email protected] Web Services – RPG Feb 2005 © 2004 IBM Corporation IBM Information Simplest Definition WebSphere Application Server (WAS) is: IBM's strategic Java run-time to deliver Internet Applications J2EE WebSphere Studio Development Client (WDSC) is: IBM’s strategic development tool to build applications Specifically Internet Applications (For Us)

Transcript of WebSphere – Web Services wrapper RPG as Service Provider

1

Systems & Technology

IBM Information©Copyright IBM Corporation, 2004. All Rights Reserved.This publication may refer to products that are not currently available in your country. IBM makes no commitment to make available any products referred to herein.

WebSphere – Web Services wrapper RPG as Service Provider

Dan [email protected]

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Simplest Definition

WebSphere Application Server (WAS) is:IBM's strategic Java run-time to deliver Internet Applications

• J2EEWebSphere Studio Development Client (WDSC) is:

IBM’s strategic development tool to build applications• Specifically Internet Applications (For Us)

2

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

“…. And I think we’re looking at a change in paradigm, a major change in paradigm. It’s the most exciting thing I’ve seen in the history of this industry, in my 30 years in it I’ve never seen anything like this before.”

By Jason Weisser, Vice President of Enterprise Integration at IBMin article with http://www.ITWriting.com

“IBM talks Web Services”

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Application Integration Ranks Highest Priority among CIOs

3

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

The power of Service Oriented Architecture (SOA) and its implementation Web Services is the ability to take existing legacy applications and integrate with a different applications. Allowing A2A communication.

Main Point

• Loosely Coupled

•Programming Language Independent.

•Java, .NET, RPG, C++

•Programming Language Interoperable.

•Platform Independent

• iSeries, Linux, Windows

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

WSDLƒ Describe what the service is

and how to use it.

UDDI ƒ Yellow pages for web

services

"The Web Services Architecture defines the basic principles and functions required for such dynamic business interactions, including the ability to publish to a server, find a particular service and bind to it programmatically through the use of standards"

servicebroker

serviceprovider

servicerequester

registry

Architecture

SOAPƒ Connect the service

Using the standards

4

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

InternetInternet

Service Requester

Plants By WebSphere

iSeries A

Service Broker• wsdlAnalogy

RPG Shipping Customer DB

iSeries B (Shipping Company)

DB

Service Provider

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Service Provider

Program Call Bean

RPG Shipping Customer DB

iSeries B (Shipping Company)

DB

DEMO – RPG as Service Provider

5

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Service Provider

Program Call Bean

RPG Shipping Customer DB

iSeries B (Shipping Company)

DB

InternetInternet

wsdl

soap/http

DEMO – RPG as Service Provider

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Service Provider

Program Call Bean

RPG Shipping Customer DB

iSeries B (Shipping Company)

DB

InternetInternet

Service Requester

• Browser

• Java

• C++

• .NET

wsdl

soap/http

DEMO – RPG as Service Provider

6

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Service Provider

Program Call Bean

RPG Shipping Customer DB

iSeries B (Shipping Company)

DB

Service Requester

• Browser

• Java

• C++

• .NET

wsdl

Service Broker• wsdl

InternetInternet

soap/http

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Plants By WebSphere

ShoppingServletJSP’s EJB’s

InternetInternet

iSeries A

Http Browser

Customer

7

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Plants By WebSphere

ShoppingServletJSP’s

Service Requester

EJB’s

InternetInternet

iSeries A

Service Provider

Program Call Bean

RPG Shipping Customer DB

iSeries B (Shipping Company)

DB

Http Browser

Customer

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

ShoppingServlet Codeprivate boolean shippingCompany(HttpSession session) {

RPGServicesServiceLocator loc = new RPGServicesServiceLocator();RPGServices sei = null;ADDCUSTInput addInput = new ADDCUSTInput();ADDCUSTResult addResult = null;// build the add input with shipping addInputinfo

sei = loc.getRPGServices();

addResult = sei.addcust_InputBean(addInput);

if (addResult.getRC().intValue() == 0) {return true;

}else {return false;

}}

8

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

The power of Service Oriented Architecture (SOA) and its implementation Web Services is the ability to take existing legacy applications and integrate with other applications or new applications. Allowing A2A communication.

Conclude

• Loosely Coupled

•Programming Language Independent.

•Java, .NET, RPG, C++

•Programming Language Interoperable.

•Platform Independent

• iSeries, Linux, NT

Web Services – RPG Feb 2005

© 2004 IBM Corporation IBM Information

Trademarks and Disclaimers8 IBM Corporation 1994-2003. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.The following terms are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both:

Lotus, Freelance Graphics, and Word Pro are registered trademarks of Lotus Development Corporation and/or IBM Corporation.Domino is a trademark of Lotus Development Corporation and/or IBM Corporation.

C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. ActionMedia, LANDesk, MMX, Pentium and ProShare are trademarks of Intel Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries.SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. Other company, product and service names may be trademarks or service marks of others.

Information is provided "AS IS" without warranty of any kind.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved.Actual environmental costs and performance characteristics may vary by customer.

Information in this presentation concerning non-IBM products was obtained from a supplier of these products, published announcement material, or otherpublicly available sources and does not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers aretaken from publicly available information, including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannotconfirm the accuracy of performance, capability, or any other claims related to non-IBM products. Questions on the capability of non-IBM products should beaddressed to the supplier of those products.

All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Contactyour local IBM office or IBM authorized reseller for the full text of the specific Statement of Direction.

Some information in this presentation addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment tospecific levels of performance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM productannouncements. The information is presented here to communicate IBM's current investment and development activities as a good faith effort to help with ourcustomers' future planning.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performancethat any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration,the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performanceimprovements equivalent to the ratios stated here.

Photographs shown are of engineering prototypes. Changes may be incorporated in production models.

16

LotusiSerieseServer (logo)

WebSphereIBM (logo)eServer

DB2IBMAS/400e

SametimeOS/400e-business on demandAS/400