tailieunhanh - Programming Web Services with SOAPn phần 6
Sau khi tạo ra, WS-Kiểm tra văn bản nên được đặt ở một vị trí nổi tiếng hoặc easilydiscoverable trên máy chủ web của bạn. Trong thực tế, các đặc điểm kỹ thuật WS-Kiểm tra xác định, tại một | Programming Web Services with SOAP Example 6-38. A simple WS-Inspection document xml version inspection xmlns http ws 2001 10 inspection xmlns uddi http ws 2001 10 inspection uddi service abstract The Hello World Service abstract description referencedNamespace http wsdl location http description referencedNamespace urn uddi-org api uddi serviceDescription location http uddi inquiryapi uddi serviceKey 4FA28580-5C39-11D5-9FCF-BB3200333F79 uddi serviceKey uddi serviceDescription description service link referencedNamespace http ws 2001 10 inspection location http inspection Once created WS-Inspection documents should be placed in a well-known or easily discoverable location on your web server. In fact the WS-Inspection specification defines that at a minimum an inspection document called should be available at the root the server for instance http . This allows potential clients of those services to locate inspection documents easily and thereby discover the services being advertised. The relationship between UDDI and WS-Inspection is simple. UDDI is a phone book. If you need a plumber to fix the pipes under your kitchen sink but do not know of a good one to call you open the phone book and find one. If you need a web service that implements a particular WSDL defined port type for processing purchase orders for ball bearings you can submit a request to a UDDI registry to find an appropriate service. WS-Inspection however is useful if you already know the service provider you want to use . you already know which plumber who want to call so you dont have to look in the phonebook . You d simply refer to the WS-Inspection document published by the service provider to find the location of the services they are offering. WS-Inspection Syntax The syntax of a .
đang nạp các trang xem trước