Đang chuẩn bị liên kết để tải về tài liệu:
Developing Web Services with Apache Axis 2 phần 10
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tuy nhiên, bạn chỉ cần tìm ra một chìa khóa duy nhất công cộng cho một thực thể duy nhất (CA), không phải là một khóa công khai cho tất cả mọi người mà bạn cần để giao tiếp với. Làm thế nào để có được khóa công khai đó? | 199 Chapter 10 Integrating Your Web Services with Tomcat and Spring 200 Chapter 10 Integrating Your Web Services with Tomcat and Spring What s in this chapter In this chapter you ll learn how to run the Axis server inside Tomcat and let your web service invoke business logic in Spring beans. Axis server as a mini-web server Up until now you ve been running the Axis server as a separate process listening for SOAP messages in HTTP requests on port 8080. Essentially it is acting as a mini-web server. If you re already running a web server such as Tomcat you probably want to run the Axis server as a web application in Tomcat. Installing Tomcat If you already have Tomcat installed skip to the next section. Otherwise go to http tomcat.apache.org to download a binary package of Tomcat. Download the zip version instead of the Windows exe version. Suppose that it is apache-tomcat-6.0.13.zip. Unzip it into a folder say c tomcat. Note that Tomcat 6.x works with JDK 5 or above. Before you can run it make sure the environment variable JAVA_HOME is defined to point to your JDK folder e.g. C Program Files Java jdk1.5.0_02 Chapter 10 Integrating Your Web Services with Tomcat and Spring 201 If you don t have it define it now. Now open a command prompt change to c tomcat bin and then run startup.bat. If it is working you should see