Developing Web Services with Apache Axis 2 phần 10

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 to download a binary package of Tomcat. Download the zip version instead of the Windows exe version. Suppose that it is . Unzip it into a folder say c tomcat. Note that Tomcat 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 . C Program Files Java 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 . If it is working you should see

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.