没有合适的资源?快使用搜索试试~ 我知道了~
首页WebSphere 5.1 Web Services Handbook: Developer's Guide
《Web服务手册》是IBM针对WebSphere Version 5.1和Application Developer 5.1.1版本编写的权威指南,于2004年2月出版。该手册由多位专家Ueli Wahli、Gustavo Garcia Ochoa、Sharad Cocasse和Markus Muetschard共同编撰,主要聚焦于Web服务的相关概念、工具开发以及运行环境。
第一部分,"Web服务概述与概念",介绍了Web服务的基础理论,包括服务的定义、标准(如SOAP、WSDL、UDDI等)、服务间交互的工作原理以及它们在企业架构中的角色。这一章节对于理解Web服务的核心理念至关重要,帮助读者构建对分布式计算和面向服务架构的深入认识。
第二部分,"Web服务工具与开发",详细阐述了如何使用WebSphere Application Server 5.1和WebSphere Studio Application Developer 5.1.1进行Web服务的开发实践。涵盖了从设计、编码到部署和服务管理的整个流程,包括工具的功能特性、API使用方法以及最佳实践示例,以便开发者能够高效地构建和维护服务。
第三部分,"Web服务运行环境",探讨了Web服务在实际应用中的部署、性能优化、安全性考虑以及监控等方面。这部分内容对于确保Web服务的可靠性和稳定性具有指导意义,帮助用户理解和处理常见的部署挑战。
值得注意的是,该手册适用于基于Windows NT和Windows 2000操作系统的环境,并提醒读者在使用前阅读版权页上的" Notices"部分,了解可能的使用限制和版权信息。此外,手册还包含了IBM Corporation的版权声明和所有权利保留声明。
《Web服务手册》的第二版更新至2004年2月,旨在适应WebSphere 5.1和Application Developer 5.1.1的新功能,并提供针对特定版本的指导和支持。对于任何希望深入了解和利用Web服务技术的开发人员或系统管理员来说,这是一本不可或缺的参考资源。

xiv WebSphere Version 5.1 Web Services Handbook
Validating SOAP messages with the TCP/IP Monitor . . . . . . . . . . . . . . . . 283
Creating a Web service from a URL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Importing the servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Creating a server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Running the servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Creating the URL Web service for the servlet. . . . . . . . . . . . . . . . . . . . . . 286
Testing the URL Web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Creating a Web service from DADX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
DADX group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Creating a Web service from an SQL statement. . . . . . . . . . . . . . . . . . . . 290
Create an SQL statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Create a DADX group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Creating a DADX file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Create the Web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Testing the Web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Publishing and exploring a UDDI registry. . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Publishing a business entity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Web Services Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Discovering business entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Publishing the weather forecast Web service . . . . . . . . . . . . . . . . . . . . . . 298
Discovering the weather forecast Web service . . . . . . . . . . . . . . . . . . . . . 299
Deployment of the sample applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Exporting the EAR file and installing the enterprise application . . . . . . . . 301
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Chapter 16. Web services security with Application Developer . . . . . . . 303
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Architecture and deployment model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Securing Web services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Implementing security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Defining client authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Defining server authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Testing authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Integrity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Defining client integrity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Defining server integrity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Testing integrity and authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Confidentiality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
Defining client confidentiality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Defining server confidentiality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Configuring the server for confidentiality . . . . . . . . . . . . . . . . . . . . . . . 333
Testing confidentiality, integrity, and authentication . . . . . . . . . . . . . . 334

Contents xv
Resetting the server configuration and client proxy . . . . . . . . . . . . . . . . . 336
Trace output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
J2EE security and WS-Security relationship . . . . . . . . . . . . . . . . . . . . . . . . . 337
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
More information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Chapter 17. Application Developer Integration Edition . . . . . . . . . . . . . . 341
Enterprise services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Creating an enterprise service: Bottom-up . . . . . . . . . . . . . . . . . . . . . . . . 342
Creating an enterprise service: Top-down . . . . . . . . . . . . . . . . . . . . . . . . 343
Resource adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Using Application Developer Integration Edition . . . . . . . . . . . . . . . . . . . . . . 344
Business Integration perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Services view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Enhanced WSDL editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Business process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Process editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Elements of the process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
Dynamic process properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
Sample business process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Prepare existing services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Create a service project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Import existing Web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Existing Web services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Set up WSDL files of existing services . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Create the business process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Adding services to the process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
Adding flow to the process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Messages and variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Extract of generated code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Process files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Process file: temperature.process . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
FDML file: temperature.fdml . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Adding Java snippets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Defining the process interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Generate deploy code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
Flow definition markup language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Testing a business process in the test environment . . . . . . . . . . . . . . . . . . . 370
Web service client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Business process Web client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
Server configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Configuring a remote WebSphere Application Server . . . . . . . . . . . . . . . 373
Debugging business processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374

xvi WebSphere Version 5.1 Web Services Handbook
Setting breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Start debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Process debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Using the debugger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Deployment to an application server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Importing the process solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Importing the projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Web project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
EJB project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Service project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
EAR project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Defining the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Test the process sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
More information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Chapter 18. WebSphere SDK for Web Services . . . . . . . . . . . . . . . . . . . . 381
The difference between the packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
WebSphere SDK for Web Services Version 5.1 . . . . . . . . . . . . . . . . . . . . . . 383
Application server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Sample applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
WS-Security in WSDK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Using the tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Bean2WebService . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Generation steps explained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Sample setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Bean2WebService at work. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Command line help and options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
EJB2WebService . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
WSDL2WebService . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Generation stages explained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Sample setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
WSDL2WebService at work. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
WSDL2Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Sample setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
WSDL2Client at work. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Working with the application server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Installing the StringService enterprise application . . . . . . . . . . . . . . . . 402
Starting the server and listing the applications . . . . . . . . . . . . . . . . . . 402
Running a J2SE Web-service client. . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Running the J2EE client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
UDDIPublish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403

Contents xvii
Publishing a business entity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Publishing a business service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Security for publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Additional properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
UDDIUnpublish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Unpublishing a business entity or service . . . . . . . . . . . . . . . . . . . . . . 406
Security for unpublishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Additional properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Sample 1—JavaBean request/response Web service . . . . . . . . . . . . . . . . . . 406
Using sample 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Rebuilding sample 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Implementing the weather forecast Web service . . . . . . . . . . . . . . . . . . . . . . 409
Setting up the environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Running the EJB2WebService tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Generated output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Starting the Web service in the application server . . . . . . . . . . . . . . . . . . 412
Creating and running a stand-alone client . . . . . . . . . . . . . . . . . . . . . . . . 413
Client logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
Service locator or service factory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
Compile and run the client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Sample client output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Cleanup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Using the WSDK plug-in for Eclipse. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Starting Eclipse with the WSDK plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Preparing a server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Creating a Web service from a JavaBean. . . . . . . . . . . . . . . . . . . . . . . . . 417
Create a Web project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Import the weather forecast application . . . . . . . . . . . . . . . . . . . . . . . . 417
Run the Web Service wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
Generated code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
Testing the Web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Using the Web Services Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Creating and running a client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Creating a Web service from a session EJB. . . . . . . . . . . . . . . . . . . . . . . 424
Import an EJB JAR file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Create a Web project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Run the Web Service wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Generated code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Testing the EJB Web service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Creating a stand-alone client application . . . . . . . . . . . . . . . . . . . . . . . . . 426
Exporting the proxy and mapping classes . . . . . . . . . . . . . . . . . . . . . . 427
Compile and run the client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
More information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428

xviii WebSphere Version 5.1 Web Services Handbook
Chapter 19. Web services scenario: Architecture and implementation. 429
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Scenario situation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Functional requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Non-functional requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Incorporating Web services concepts and technologies . . . . . . . . . . . . . . 433
Process to create the application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Types of service invocation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
Setup phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
Build phase of the client application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Deployment phase of the client application. . . . . . . . . . . . . . . . . . . . . . . . 439
Run phase of the client application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
General concepts of the UnitedSuns client application . . . . . . . . . . . . . . . . . 441
Application flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Abstract servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
Invocation result JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Preferences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Preferences class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Preferences JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
Preferences servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
UDDI lookup sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
UDDI lookup JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
UDDI lookup servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Response JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Testing the UDDI lookup sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
Sample 1: Dynamic invocation using UDDI lookup. . . . . . . . . . . . . . . . . . 454
Start JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
Servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
Response JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
Test the sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Sample 2: Dynamic invocation using WSIL lookup. . . . . . . . . . . . . . . . . . 461
Start JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
Response JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Testing the sample. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
General concepts of the IWA application . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Application flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Home page with update HTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Update weather servlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Response JSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Static client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
剩余593页未读,继续阅读
2008-02-20 上传
2008-05-30 上传
点击了解资源详情
2009-03-23 上传
2011-04-22 上传
107 浏览量
117 浏览量
2013-06-20 上传
147 浏览量

nedvedyy
- 粉丝: 0
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

最新资源
- 桌面玫瑰恶搞小程序,带给你不一样的开心惊喜
- Win7系统语言栏无法显示?一键修复解决方案
- 防止粘贴非支持HTML的Quill.js插件
- 深入解析:微软Visual C#基础教程
- 初学者必备:超级玛丽增强版源码解析
- Web天气预报JavaScript插件使用指南
- MATLAB图像处理:蚁群算法优化抗图像收缩技术
- Flash AS3.0打造趣味打地鼠游戏
- Claxed: 简化样式的React样式组件类
- Docker与Laravel整合:跨媒体泊坞窗的设置与配置
- 快速搭建SSM框架:Maven模板工程指南
- 网众nxd远程连接工具:高效便捷的远程操作解决方案
- MySQL高效使用技巧全解析
- PIC单片机序列号编程烧录工具:自动校验与.num文件生成
- Next.js实现React博客教程:日语示例项目解析
- 医院官网构建与信息管理解决方案
安全验证
文档复制为VIP权益,开通VIP直接复制
