Domino Web Service Application Development for ~ the IBM Iseries Server November 2002

Total Page:16

File Type:pdf, Size:1020Kb

Domino Web Service Application Development for ~ the IBM Iseries Server November 2002 Domino Web Service Application Development for the IBM iSeries Server Step-by-step guide to create your first Web Service application Guide to transform your Domino application for Web Service Tips including how to use SOAP, WSDL, and UDDI Yessong Johng Kim Greene Clayton McDaniel Vinit Saraswat Jing Han Zhao ibm.com/redbooks International Technical Support Organization Domino Web Service Application Development for ~ the IBM iSeries Server November 2002 SG24-6862-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (November 2002) This edition applies to OS/400 V5R1 (product number 5722-SS1), IBM HTTP Server for iSeries V5R1 (5722-DG1), IBM Developer Kit for Java V5R1 (5722-JV1), WebSphere Application Server 4.02 (5733-WA4), Domino 5.0.10, and WebSphere Development Studio Client for iSeries 4.0. © Copyright International Business Machines Corporation 2002. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Contents . iii Notices . vii Trademarks . viii Preface . ix The team that wrote this redbook. ix Notice . .x Become a published author . .x Comments welcome. xi Chapter 1. Introduction. 1 1.1 Introduction to Web Services . 2 1.1.1 What a Web Service is . 2 1.1.2 Lotus’ strategic plans for Domino and Web Services . 5 1.2 Web Service development and deployment environment. 6 1.2.1 HTTP Server . 7 1.2.2 WebSphere Application Server. 7 1.2.3 WDSc . 7 1.2.4 Domino Server . 8 Chapter 2. Writing my first Web Service application . 9 2.1 Scenario description . 10 2.1.1 Business view . 10 2.1.2 Technology view . 11 2.1.3 StockQuoteApp creation flow . 12 2.2 Developing and deploying the applications. 14 2.2.1 Create a new project in WDSc . 14 2.2.2 Import StockQuoteService class file in Web Project. 20 2.2.3 Create a new Web Service . 24 2.2.4 Test the Web Service under a WDSc test environment . 38 2.2.5 Setting up iSeries environment for deployment . 40 2.2.6 Deployment of Web Service on WebSphere Application Server . 43 2.2.7 Test the WebSphere Application Server deployment of the Web Service . 49 2.3 Analysis of StockQuoteApp Web Service application . 51 2.3.1 Provider Java program: StockQuoteService.java . 51 2.3.2 Deployment Descriptor XML: DDS.XML . 52 2.3.3 SOAP Server components: soapcfg.jar, xsd.bean.runtime.jar . 53 2.3.4 WSDL documents . 53 2.3.5 StockQuoteServiceProxy.java: Web requester Java client . 55 2.3.6 Requester Programs: TestClient.jsp, Result.jsp . 57 2.4 Tips and techniques . 60 Chapter 3. Transforming a Domino application to a Web Service application . 61 3.1 Existing Domino applications — before transformation. 62 3.2 Porting Domino application to Java application . 63 3.2.1 Total transformation flow. 63 3.2.2 Porting tips . 64 3.3 Deploying ported Java application using WDSc . 68 © Copyright IBM Corp. 2002. All rights reserved. iii 3.3.1 ExpertiseLocatorApp creation — step-by-step . 68 3.3.2 Tips on troubleshooting. 92 3.4 Analysis of LWSEK . 93 3.4.1 What you get from it . 93 3.4.2 What we did with LWSEK . 94 3.4.3 Applications we tested . 95 Chapter 4. Consuming Web Services from a Domino application . 97 4.1 Web Service consumption tutorial. 98 4.1.1 Web Service consumer introduction . 98 4.1.2 Basic requirements to be a Web Service consumer . 99 4.1.3 What is SOAPConnect? . 100 4.2 SOAPConnect TempfinderSample . 101 4.2.1 Using TempfinderSample . 101 4.2.2 Understanding TempfinderSample . 102 4.2.3 TempfinderSample runtime flow summary . 106 4.3 Consuming StockQuoteService using SOAPConnect . 107 4.3.1 Customizing StockPortfolioSample. 107 4.3.2 Testing your new consumer . 112 4.3.3 Debugging tips . 114 4.4 Consuming Web Services with a supplied proxy client . 116 4.4.1 What is a proxy client? . 117 4.4.2 StockQuoteServiceProxy class. 117 4.4.3 Web Service consumer Java agent . 119 4.5 Creating a proxy client from a WSDL file . 124 4.5.1 What is a WSDL file? . 124 4.5.2 Finding a WSDL file . 126 4.5.3 Generating a proxy client class with WDSc . 127 4.5.4 Using your new proxy client . 142 Appendix A. Creating your own Web Service application. 147 Scenario description. 148 Business view . 148 Technology view . 148 InventoryAvailabilityService creation: step-by-step guide . ..
Recommended publications
  • IBM Developer for Z/OS Enterprise Edition
    Solution Brief IBM Developer for z/OS Enterprise Edition A comprehensive, robust toolset for developing z/OS applications using DevOps software delivery practices Companies must be agile to respond to market demands. The digital transformation is a continuous process, embracing hybrid cloud and the Application Program Interface (API) economy. To capitalize on opportunities, businesses must modernize existing applications and build new cloud native applications without disrupting services. This transformation is led by software delivery teams employing DevOps practices that include continuous integration and continuous delivery to a shared pipeline. For z/OS Developers, this transformation starts with modern tools that empower them to deliver more, faster, with better quality and agility. IBM Developer for z/OS Enterprise Edition is a modern, robust solution that offers the program analysis, edit, user build, debug, and test capabilities z/OS developers need, plus easy integration with the shared pipeline. The challenge IBM z/OS application development and software delivery teams have unique challenges with applications, tools, and skills. Adoption of agile practices Application modernization “DevOps and agile • Mainframe applications • Applications require development on the platform require frequent updates access to digital services have jumped from the early adopter stage in 2016 to • Development teams must with controlled APIs becoming common among adopt DevOps practices to • The journey to cloud mainframe businesses”1 improve their
    [Show full text]
  • DB2 UDB V8 and Websphere V5 Performance Tuning and Operation Guide
    Front cover DB2 UDB V8 and WebSphere V5 Performance Tuning and Operation Guide Best performance tuning practices for DB2 UDB and WAS integrated environment Gets you smoothly up and running DB2 UDB and WAS together Problem determination scenarios Whei-Jen Chen Peter Z. He Kang Yong Ying Sunminder S Saini Andreas Paulsen ibm.com/redbooks International Technical Support Organization DB2 UDB V8 and WebSphere V5 Performance Tuning and Operation Guide March 2004 SG24-7068-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (March 2004) This edition applies to IBM DB2 Universal Database Version 8.1 and IBM WebSphere Server V5.0.2, for use with IBM AIX 5.1 and Windows 2000 operating systems. © Copyright International Business Machines Corporation 2004. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this redbook. xii Become a published author . xiv Comments welcome. xv Chapter 1. Introduction. 1 1.1 IBM On Demand era . 2 1.1.1 The IBM On Demand operating environment . 2 1.2 Why DB2 UDB and WebSphere . 9 1.3 Key areas of performance . 10 1.3.1 Hardware. 11 1.3.2 Operating system . 11 1.3.3 Application Server and WebServer . 12 1.3.4 Database manager . 13 1.3.5 Application programs . 13 1.4 Performance tuning guidelines . 14 1.4.1 Initial efforts always pay . 14 1.4.2 Tune the identified constraints .
    [Show full text]
  • Troubleshooting Websphere Applications
    IBM WebSphere Application Server Network Deployment for Distributed Platforms, Version 8.0 Troubleshooting WebSphere applications Note Before using this information, be sure to read the general information under Notices” on page 349. Compilation date: July 29, 2011 © Copyright IBM Corporation 2011. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents How to send your comments ...........................vii Changes to serve you more quickly .........................ix Chapter 1. Troubleshooting ActivitySessions......................1 Troubleshooting ActivitySessions ...........................1 Chapter 2. Troubleshooting Application profiling ....................3 Application profiling exceptions ............................3 Chapter 3. Troubleshooting batch applications .....................5 Troubleshooting batch applications ..........................5 Adding log and trace settings to the batch environment ..................5 Batch common problems .............................5 Diagnosing problems using job logs .........................7 Chapter 4. Troubleshooting applications that use the Bean Validation API ..........9 Bean validation troubleshooting tips ..........................9 Chapter 5. Troubleshooting Client applications ....................11 Application client troubleshooting tips .........................11 Adding tracing and logging for stand-alone clients ....................17 Chapter 6. Troubleshooting Data access resources...................19
    [Show full text]
  • AD112 Development and Deployment of Lotus Product Documentation Wikis
    AD112 Development and Deployment of Lotus Product Documentation Wikis Craig Lordan | Manager Kevin Giles | Advisory Software Engineer 2 12 Agenda 11 1 10 2 ● Background 9 3 ▬ IBM Lotus® product wikis overview 8 4 ▬ 7 5 Your speakers today 6 ▬ IBM Lotus® Domino® infrastructure ● Lotus Domino wiki application development ▬ First pass at Lotus Domino wikis ▬ Benefits of XPages for wikis ▬ XPages Wiki template on OpenNTF ▬ Custom development examples ● Real-world experience ▬ XPages deployment experience ▬ Our XPages lessons ▬ What about wikis in IBM Lotus® Connections? ● Project future ● Q&A 3 Lotus product wikis overview ● Product wikis for all Lotus and IBM WebSphere® Portal products ● Live on the Internet, open to all customers and users ▬ Visit www.lotus.com/ldd/wikis ● Added first wiki for IBM Lotus® Notes® and Lotus Domino in December 2007 ● Additional wikis added in 2008 ● Current content includes supplemental technical content and IBM Redbooks® Wiki listing IBM Composite Applications IBM Lotus Notes ● IBM LotusLive™ IBM Lotus Notes Traveler Plan is to use wikis for official product IBM Mashup Center IBM Lotus® Quickr IBM Lotus® ActiveInsight® IBM Lotus® Sametime® documentation Lotus Connections IBM Lotus® Symphony Lotus Domino IBM Lotus® Web Content ▬ IBM Lotus Domino Designer Management IBM Lotus® Expeditor, IBM Lotus® Foundations, Lotus Expeditor IBM Lotus® Workforce Management IBM Mashup Center already publish product doc to IBM Lotus® Forms IBM WebSphere Dashboard Lotus Foundations Framework wikis IBM Lotus® iNotes® WebSphere Portal IBM Lotus® Mobile Connect IBM WebSphere® Portlet Factory 4 Your speakers today ● Craig Lordan, Manager ▬ Craig Lordan is a manager at IBM Lotus. He joined Lotus in 1998 as a technical writer for Lotus Notes and Lotus Domino.
    [Show full text]
  • IBM Notes Traveler Administration
    IBM C2040-412 IBM Notes Traveler Administration IBM C2040-412 Dumps Available Here at: https://www.certification-questions.com/ibm-exam/c2040-412-dumps.html Enrolling now you will get access to 118 questions in a unique set of C2040-412 dumps Question 1 Which option describes how a load balancer is used for an IBM Notes Traveler High Availability (HA) implementation? Options: A. secures connections between Notes Traveler servers and IBM Domino mail servers B. spreads the user to server connections across multiple Notes Traveler HA Pool members C. balances mail server traffic between Notes Traveler servers and clustered Domino mail servers D. spreads large amounts of data across multiple Notes Traveler servers when users are synchronizing a large attachment to a device Answer: B Question 2 Once IBM Notes Traveler servers are put into production, what average percentage should the CPU be below? Options: A. 65 B. 75 C. 85 D. 95 Answer: B Question 3 https://www.certification-questions.com IBM C2040-412 What is the minimum number of servers recommended for an IBM Notes Traveler 9.0 Service Pool, IBM Domino mail and database server with high availability for all components on Microsoft Windows or Linux platforms? Options: A. 5 B. 6 C. 7 D. 11 Answer: C Question 4 IBM Notes Traveler mobile client to server traffic is secured over which protocol? Options: A. Secure Socket Layer (SSL) B. Post Office Protocol 3 (POP3) C. HyperText Transfer Protocol (HTTP) D. Notes Remote Procedure Call (NRPC) Answer: A Question 5 How can an administrator ensure that the network communication between the IBM Notes Traveler server and the mail servers is optimized? Options: A.
    [Show full text]
  • Response to IBM's Whitepaper Entitled Benchmarking and Beating Microsoft .NET 3.5 with Websphere 7
    MICROSOFT Response to IBM’s Whitepaper Entitled Benchmarking and Beating Microsoft .NET 3.5 with WebSphere 7 7/2/2009 This document is a response to an IBM Benchmark Rebuttal Document to our original benchmark results published at http://msdn.microsoft.com/stocktrader. Microsoft stands behind the original test results published there. This document is the Microsoft response, point-for-point, to the IBM response to our original results, and includes new benchmark data as further evidence. Contents Executive Summary ....................................................................................................................................... 4 Introduction .................................................................................................................................................. 6 The Microsoft Findings.................................................................................................................................. 8 Response to IBM Rebuttal ............................................................................................................................ 9 IBM Friendly Bank Benchmark .................................................................................................................. 9 Microsoft Comments on IBM Friendly Bank Rebuttal Benchmark ........................................................... 9 IBM CPO StockTrader/.NET Benchmark.................................................................................................. 11 Microsoft Comments on IBM CPO StockTrader
    [Show full text]
  • High Performance Computing Toolkit: Installation and Usage Guide | Appendix B
    IBM Parallel Environment Developer Edition High Performance Computing Toolkit Version 2 Release 1 Installation and Usage Guide SC23-7287-00 IBM Parallel Environment Developer Edition High Performance Computing Toolkit Version 2 Release 1 Installation and Usage Guide SC23-7287-00 Note Before using this information and the product it supports, read the information in “Notices” on page 255. This edition applies to version 2, release 1, modification 0 of the IBM Parallel Environment Developer Edition High Performance Computing Toolkit (HPC Toolkit) (product number 5765-PD2) and to all subsequent releases and modifications until otherwise indicated in new editions. © Copyright IBM Corporation 2008, 2014. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures ..............vii | Part 3. Using the IBM PE Developer | Edition graphical performance Tables ...............ix || analysis tools ...........21 About this information ........xi | Chapter 6. Using the hpctView Who should read this information .......xi Conventions and terminology used in this || application .............23 information ..............xi || Preparing an application for analysis ......24 Prerequisite and related information ......xii || Working with the application ........25 Parallel Tools Platform component .....xii || Opening the application executable ......25 How to send your comments ........xiii || Instrumenting the application ........28 || Running the instrumented application .....29 Summary of changes ........xv || Viewing performance data .........37 | Chapter 7. Using hardware Limitations and restrictions .....xvii || performance counter profiling.....41 || Preparing an application for profiling......41 Part 1. Introduction .........1 || Instrumenting the application ........41 || Running the instrumented application .....43 Chapter 1. Introduction to the IBM HPC || Viewing hardware performance counter data . 45 Toolkit ...............3 IBM PE Developer Edition components .....3 || Chapter 8.
    [Show full text]
  • Roald Amundsen Gomes Filho
    Roald Amundsen Gomes Filho CONTACT 1530 N Detroit St Apt 220 E-mail: [email protected] Los Angeles CA 90046 Website: http://www.linkedin.com/pub/roald- amundsen-gomes-filho/8/501/84/ Phone: 954 882 4405 QUALIFICATIONS Software Analyst with broad-based experience and hands-on skills in the successful implementation of highly effective Lotus Notes applications. Proven ability to successfully analyze organization's business requirements, identify deficiencies and potential opportunities, as well as developing innovative solutions resulting on increased reliability and productivity. I am working with Lotus technologies for over 18 years, mostly with Messaging and Document Management systems, with a broad understanding of computer hardware and software, including: installation; configuration; management; troubleshooting and support. TECHNICAL IBM Notes & Domino SKILLS LotusScript & Xpages Notes Traveler IBM Sametime IBM WebSphere Portal Sharepoint Crystal Reports DB2 & SQL Server UNIX Linux Windows Server Machine Learning WORK HSBC Software Development Aug 2008 — Present EXPERIENCE Technical Specialist As an IBM Certified Advanced Application Developer - Lotus Notes and Domino 8.5, I am working at HSBC Group providing support to Email CoE (Center of Excellence) by: evaluating IBM and Third Party products related to email and instant messaging technologies; helping to define Group standards; managing the CoE infrastructure and administering the CoE Lab environment. Headquartered in London, HSBC operates through long-established businesses and an international network of some 6,900 offices in more than 80 countries and territories. The scope of this project involves the following responsibilities: Develop and execute the multi-language mail template customizations for the Notes Client and iNotes, in use by more than 300,000 users all over the world.
    [Show full text]
  • Program Directory for IBM Enterprise COBOL for Z/OS
    IBM Program Directory for IBM Enterprise COBOL for z/OS V06.02.00 Program Number 5655-EC6 FMIDs HADB620, JADB621, JADB622, JADB62H for Use with z/OS Document Date: September 2017 GI13-4526-01 Note Before using this information and the product it supports, be sure to read the general information under 7.0, “Notices” on page 30. © Copyright International Business Machines Corporation 1991, 2017. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents 1.0 Introduction . 1 1.1 Enterprise COBOL Description ......................................... 1 1.2 Enterprise COBOL FMIDs ........................................... 4 2.0 Program Materials . 5 2.1 Basic Machine-Readable Material ....................................... 5 2.2 Optional Machine-Readable Material ..................................... 6 2.3 Program Publications . 6 2.3.1 Optional Program Publications ...................................... 7 2.4 Program Source Materials ........................................... 7 2.5 Publications Useful During Installation .................................... 7 3.0 Program Support . 8 3.1 Program Services . 8 3.2 Preventive Service Planning .......................................... 8 3.3 Statement of Support Procedures ....................................... 9 4.0 Program and Service Level Information ................................. 10 4.1 Program Level Information .......................................... 10 4.2 Service Level Information ..........................................
    [Show full text]
  • Running IBM Websphere Application Server on System P and AIX: Optimization and Best Practices
    Front cover Running IBM WebSphere Application Server on System p and AIX: Optimization and Best Practices System p and AIX configuration strategies for WebSphere Application Server How JVM runtime and WebSphere Application Server interact with AIX Implementation scenarios Lutz Werner Denefleh Anderson de Sousa Ribeiro Dias Simon Kapadia Monty Poppe Colin Renouf Kwan-Ming Wan ibm.com/redbooks International Technical Support Organization Running IBM WebSphere Application Server on System p and AIX: Optimizaton and Best Practices September 2008 SG24-7347-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition September 2008 This edition applies to IBM WebSphere Application Server Version 6.1, IBM AIX Version 5.3, and IBM AIX Version 6.1. © Copyright International Business Machines Corporation 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this book . xi Acknowledgements . xiii Become a published author . xiii Comments welcome. xiv Chapter 1. Introduction to running WebSphere Application Server on System p and AIX . 1 1.1 The whole system view: WebSphere, JVM, AIX, and System p . 2 1.1.1 Points of view . 2 1.1.2 A holistic system approach . 3 1.2 System layers and points of view . 3 1.2.1 Points of view and terminology . 4 1.3 The remainder of this book . 5 Chapter 2. WebSphere on System p and AIX 5 strategies . 7 2.1 Scalability considerations .
    [Show full text]
  • DB2 Product Overview
    PH061-Martineau.book Page 3 Wednesday, August 6, 2003 7:40 PM C HAPTER 1 DB2 Product Overview he relational database of choice for modern distributed applications is IBM’s DB2 Univer- T sal Database(UDB). Relational databases form the core backend of most enterprise scale applications because of their capability to deliver high performance, support advanced features such as transactions, and maintain data integrity. The Structured Query Language (SQL) provides a powerful standard for accessing and manipulating databases. Its widespread acceptance across all major vendors has also contributed to the success of relational database technology. This chapter introduces major DB2 products so that you can plan the products required for your environment. This is a key to planning the DB2 UDB solution, as shown in Figure 1.1, that is suitable for your project or your organization. OBJECTIVES After reading this chapter you should have an understanding of the following DB2 UDB products: • DB2 UDB Server Products ° DB2 UDB Enterprise Server Edition (ESE) ° DB2 UDB Workgroup Server Edition (WSE) ° DB2 UDB Workgroup Server Unlimited Edition (WSUE) • DB2 UDB Personal Edition (PE) • DB2 UDB Developer’s Products ° DB2 UDB Personal Developer’s Edition ° DB2 UDB Universal Developer’s Edition • DB2 UDB Connect Products ° DB2 UDB Connect Enterprise Edition ° DB2 UDB Connect Unlimited Edition 3 PH061-Martineau.book Page 4 Wednesday, August 6, 2003 7:40 PM 4 Chapter 1 • DB2 Product Overview ° DB2 Connect Personal Edition ° DB2 Connect Application Server Edition • DB2 UDB Clients ° DB2 Run-Time Client ° DB2 Administration Client ° DB2 Application Development Client DB2 UDB SERVER PRODUCTS DB2 UDB server products provide a relational database engine for storing, maintaining, and accessing data.
    [Show full text]
  • Red Hat Decision Manager 7.0 Installing and Configuring Decision Server on IBM Websphere Application Server
    Red Hat Decision Manager 7.0 Installing and configuring Decision Server on IBM WebSphere Application Server Last Updated: 2018-11-20 Red Hat Decision Manager 7.0 Installing and configuring Decision Server on IBM WebSphere Application Server Red Hat Customer Content Services [email protected] Legal Notice Copyright © 2018 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
    [Show full text]