TAILIEUCHUNG - Java Testing and Design- P6

Java Testing and Design- P6: The ultimate test of every software construction effort is the user’s success using the product to accomplish some practical goal. No matter how much state-of-the-art technology goes into the software, success can only be judged through the lens of the user. | Web Service Scalability Techniques 229 parameters and data types used to make a SOAP request and receive a response. WSDL is machine parsable and enables development tools and application servers to generate program source code. SOAP provides better extensibility and reduces brittleness over XML-RPC by introducing the many extra layers of the SOAP stack described in Figure 7-2. However with greater flexibility comes a greater possibility of incompatibility and scalability problems. Web Service Scalability Techniques SOAP and WSDL-based Web services use a multistep process to complete a transaction. Many techniques and system architectures attempt to improve Web service scalability and performance. Understanding these techniques is important to validate the results in a test. The Web service request often begins with business logic of your application learning the method and parameter to call from a WSDL document. As an example here is part of the WSDL for a publicly available Web service that returns the current weather for a . postal zip code. message name part name message message name part name message getTempRequest zipcode type xsd string getTempResponse return type xsd float The weather service requires you to call the getTempRequest method by passing in a zipcode value as a string and receiving the temperature as a floating-point value in the response. Since the WSDL rarely changes many developers embed the WSDL definition into their code to avoid the overhead of getting the WSDL every time. While this will improve performance it also works against solving brittleness and becomes a maintenance headache when the WSDL eventually changes. The better way to avoid maintenance problems is to cache the WSDL in the centralized database and then periodically check the timestamp version number of the WSDL to see if a newer one is available. Another way for software developers to try to improve performance is to turn XML validation off. For systems that do no use .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.