{"id":50,"date":"2007-10-12T16:11:56","date_gmt":"2007-10-12T20:11:56","guid":{"rendered":"http:\/\/www.prglab.com\/blog\/p\/50"},"modified":"2007-10-12T16:53:07","modified_gmt":"2007-10-12T20:53:07","slug":"3-component-of-web-services","status":"publish","type":"post","link":"https:\/\/www.prglab.com\/blog\/p\/50","title":{"rendered":"\u6d45\u8c08Web Services \u4e09\u8981\u7d20"},"content":{"rendered":"<blockquote><p>Web Services \u73b0\u5728\u662f\u4e2a\u70ed\u95e8\u8bdd\u9898\uff0c\u4e0e\u4e4b\u76f8\u5173\u7684XML, XSLT, SOAP, UDDI, WSDL\u7b49\u7b49\u8bcd\u6c47\u4e5f\u90fd\u6210\u4e86\u70ed\u95e8\u5173\u952e\u5b57\u3002\u7a76\u7adf\u8fd9\u4e9b\u6280\u672f\u662f\u5982\u4f55\u88ab\u96c6\u6210\u8fd0\u7528\u5230\u4e00\u8d77\u7684\uff0c\u5b83\u4eec\u5728Web Services\u4e2d\u6240\u626e\u6f14\u7684\u89d2\u8272\u53c8\u5982\u4f55\uff0c\u5728Connie Smith\u7684\u4e00\u7bc7\u5173\u4e8ePMIF\u7684\u8bba\u6587\u4e2d\u6211\u5c45\u7136\u53d1\u73b0\u4e86\u4e00\u6bb5\u5173\u4e8eWeb Services\u7684\u4ecb\u7ecd\u975e\u5e38\u7b80\u6d01\u6e05\u6670\uff0c\u5728\u8fd9\u513f\u4e0e\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\u3002<\/p><\/blockquote>\n<p>\u4e00\u4e2aWeb Service\u662f\u4e00\u4e2a\u88ab\u8bbe\u8ba1\u7528\u6765\u652f\u6301\u673a\u5668\u4e0e\u673a\u5668\u4e4b\u95f4\u901a\u8fc7\u7f51\u7edc\u8fdb\u884c\u8de8\u5e73\u53f0\u4ea4\u4e92\u64cd\u4f5c\u7684\u8f6f\u4ef6\u7cfb\u7edf\u3002Web Services\u662f\u5c01\u88c5\u5b8c\u6574\u7684\u5e94\u7528\u6a21\u5757\uff0c\u5e76\u81ea\u5e26\u63cf\u8ff0\u4fe1\u606f\uff0c\u53ef\u4ee5\u5728\u7f51\u8def\u4e0a\u53d1\u5e03\uff0c\u53ef\u4ee5\u88ab\u5b9a\u4f4d\u67e5\u627e\uff0c\u53ef\u4ee5\u901a\u8fc7Web\u88ab\u8c03\u7528\u3002<\/p>\n<p>\u8981\u8bbf\u95ee\u4e00\u4e2aWeb Service\uff0c\u7528\u6237\u5fc5\u987b\u77e5\u9053\u8fd9\u4e2a\u670d\u52a1\u7684\u5b9a\u4e49\uff08\u6bd4\u5982\u63a5\u53e3\u4fe1\u606f\uff09\uff0c\u800c\u4e0d\u9700\u8981\u77e5\u9053\u5b83\u662f\u600e\u6837\u5b9e\u73b0\u7684(\u6bd4\u5982\u7528\u4ec0\u4e48\u8bed\u8a00\u5199\u7684)\u3002\u56e0\u6b64\uff0c\u5ba2\u6237\u8f6f\u4ef6\u548c\u670d\u52a1\u5668\u8f6f\u4ef6\u53ef\u4ee5\u662f\u4f7f\u7528\u4e0d\u540c\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u8fd9\u5c31\u662f\u4e92\u64cd\u4f5c\u6027(interoperability)\u3002<\/p>\n<p>\u5728Web Service\u67b6\u6784\u4e2d\u6709\u4e09\u4e2a\u4e3b\u8981\u5143\u7d20\uff0c\u5168\u90e8\u662f\u57fa\u4e8eXML(eXtensible Markup Language)\uff1aSOAP(Simple Object Access Protocol) \u3001WSDL(Web Services Description Language) \u548c UDDI(Universal Description, Discovery, and Integration)\u3002<\/p>\n<p>SOAP\u76f4\u8bd1\u662f\u7b80\u5355\u5bf9\u8c61\u8bbf\u95ee\u534f\u8bae\uff0c\u662f\u8bbf\u95eeWeb Services\u7684\u6807\u51c6\u534f\u8bae\uff0c\u5b83\u4f7f\u5f97\u4e0d\u540c\u5e94\u7528\u8f6f\u4ef6\u4e4b\u95f4\u8fdb\u884c\u4fe1\u606f\u4ea4\u6362\u548c\u901a\u4fe1\u6210\u4e3a\u53ef\u80fd\u3002\u5b83\u662f\u4e00\u79cd\u57fa\u4e8eXML\u7684\u901a\u4fe1\u548c\u8fdc\u7a0b\u8fc7\u7a0b\u8c03\u7528\u534f\u8bae\uff0c\u5728\u73b0\u6709\u7684\u591a\u79cd\u4f20\u8f93\u534f\u8bae\u4e0a\u90fd\u53ef\u4ee5\u5de5\u4f5c\uff0c\u4f8b\u5982 TCP\uff0cHTTP\uff0cSMTP\u7b49\u3002\u4e00\u4e2aSOAP\u6d88\u606f\u662f\u4e00\u4e2aXML\u6587\u4ef6\uff0c\u5177\u6709\u56db\u4e2a\u57fa\u672c\u7ec4\u6210\u90e8\u5206\uff1a\u4fe1\u5c01(envelope)\u3001\u4fe1\u5934(header)\u3001\u5185\u5bb9(body)\u548c\u51fa\u9519(fault)\u3002<\/p>\n<p>WSDL\u4e5f\u662f\u4e00\u79cd\u57fa\u4e8eXML\u7684\u8bed\u8a00\uff0c\u76f4\u8bd1\u662f\u7f51\u7edc\u670d\u52a1\u63cf\u8ff0\u8bed\u8a00\uff0c\u5b83\u63cf\u8ff0\u4e86\u4e00\u4e2aWeb Service\u6240\u63d0\u4f9b\u7684\u64cd\u4f5c\u4ee5\u53ca\u5b83\u7684\u63a5\u53e3\u5b9a\u4e49\u3002<\/p>\n<p>UDDI\u662f\u4e00\u4e2aWeb Service\u7684\u6ce8\u518c\u767b\u8bb0\u5904\uff0c\u7528\u6237\u901a\u8fc7\u5b83\u53ef\u4ee5\u67e5\u627e\u5230\u5f53\u524d\u5df2\u7ecf\u53d1\u5e03\u7684Web Service\u6709\u54ea\u4e9b\u53ca\u5728\u54ea\u91cc\u53ef\u4ee5\u627e\u5230\u3002<\/p>\n<p>\u6709\u4e86\u8fd9\u4e9b\u6280\u672f\uff0c\u6211\u4eec\u73b0\u5728\u53ef\u4ee5\u5b9a\u4e49\uff1a\u4e00\u4e2aWeb Service\u662f\u4e00\u4e2a\u53d1\u5e03\u5728\u7f51\u7edc\u4e0a\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7SOAP\u8bbf\u95ee\u7684\uff0c\u7531WSDL\u63cf\u8ff0\u7684\uff0c\u5728UDDI\u6ce8\u518c\u767b\u8bb0\u7684\u7f51\u7edc\u670d\u52a1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Web Services \u73b0\u5728\u662f\u4e2a\u70ed\u95e8\u8bdd\u9898\uff0c\u4e0e\u4e4b\u76f8\u5173\u7684XML, XSLT, SOAP, UDDI, WSDL\u7b49\u7b49\u8bcd\u6c47\u4e5f\u90fd\u6210\u4e86\u70ed\u95e8\u5173\u952e\u5b57\u3002\u7a76\u7adf\u8fd9\u4e9b\u6280\u672f\u662f\u5982\u4f55\u88ab\u96c6\u6210\u8fd0\u7528\u5230\u4e00\u8d77\u7684\uff0c\u5b83\u4eec\u5728Web Services\u4e2d\u6240\u626e\u6f14\u7684\u89d2\u8272\u53c8\u5982\u4f55\uff0c\u5728Connie Smith\u7684\u4e00\u7bc7\u5173\u4e8ePMIF\u7684\u8bba\u6587\u4e2d\u6211\u5c45\u7136\u53d1\u73b0\u4e86\u4e00\u6bb5\u5173\u4e8eWeb Services\u7684\u4ecb\u7ecd\u975e\u5e38\u7b80\u6d01\u6e05\u6670\uff0c\u5728\u8fd9\u513f\u4e0e\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\u3002 \u4e00\u4e2aWeb Service\u662f\u4e00\u4e2a\u88ab\u8bbe\u8ba1\u7528\u6765\u652f\u6301\u673a\u5668\u4e0e\u673a\u5668\u4e4b\u95f4\u901a\u8fc7\u7f51\u7edc\u8fdb\u884c\u8de8\u5e73\u53f0\u4ea4\u4e92\u64cd\u4f5c\u7684\u8f6f\u4ef6\u7cfb\u7edf\u3002Web Services\u662f\u5c01\u88c5\u5b8c\u6574\u7684\u5e94\u7528\u6a21\u5757\uff0c\u5e76\u81ea\u5e26\u63cf\u8ff0\u4fe1\u606f\uff0c\u53ef\u4ee5\u5728\u7f51\u8def\u4e0a\u53d1\u5e03\uff0c\u53ef\u4ee5\u88ab\u5b9a\u4f4d\u67e5\u627e\uff0c\u53ef\u4ee5\u901a\u8fc7Web\u88ab\u8c03\u7528\u3002 \u8981\u8bbf\u95ee\u4e00\u4e2aWeb Service\uff0c\u7528\u6237\u5fc5\u987b\u77e5\u9053\u8fd9\u4e2a\u670d\u52a1\u7684\u5b9a\u4e49\uff08\u6bd4\u5982\u63a5\u53e3\u4fe1\u606f\uff09\uff0c\u800c\u4e0d\u9700\u8981\u77e5\u9053\u5b83\u662f\u600e\u6837\u5b9e\u73b0\u7684(\u6bd4\u5982\u7528\u4ec0\u4e48\u8bed\u8a00\u5199\u7684)\u3002\u56e0\u6b64\uff0c\u5ba2\u6237\u8f6f\u4ef6\u548c\u670d\u52a1\u5668\u8f6f\u4ef6\u53ef\u4ee5\u662f\u4f7f\u7528\u4e0d\u540c\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u8fd9\u5c31\u662f\u4e92\u64cd\u4f5c\u6027(interoperability)\u3002 \u5728Web Service\u67b6\u6784\u4e2d\u6709\u4e09\u4e2a\u4e3b\u8981\u5143\u7d20\uff0c\u5168\u90e8\u662f\u57fa\u4e8eXML(eXtensible Markup Language)\uff1aSOAP(Simple Object Access Protocol) \u3001WSDL(Web Services Description Language) \u548c UDDI(Universal Description, Discovery, and Integration)\u3002 SOAP\u76f4\u8bd1\u662f\u7b80\u5355\u5bf9\u8c61\u8bbf\u95ee\u534f\u8bae\uff0c\u662f\u8bbf\u95eeWeb Services\u7684\u6807\u51c6\u534f\u8bae\uff0c\u5b83\u4f7f\u5f97\u4e0d\u540c\u5e94\u7528\u8f6f\u4ef6\u4e4b\u95f4\u8fdb\u884c\u4fe1\u606f\u4ea4\u6362\u548c\u901a\u4fe1\u6210\u4e3a\u53ef\u80fd\u3002\u5b83\u662f\u4e00\u79cd\u57fa\u4e8eXML\u7684\u901a\u4fe1\u548c\u8fdc\u7a0b\u8fc7\u7a0b\u8c03\u7528\u534f\u8bae\uff0c\u5728\u73b0\u6709\u7684\u591a\u79cd\u4f20\u8f93\u534f\u8bae\u4e0a\u90fd\u53ef\u4ee5\u5de5\u4f5c\uff0c\u4f8b\u5982 TCP\uff0cHTTP\uff0cSMTP\u7b49\u3002\u4e00\u4e2aSOAP\u6d88\u606f\u662f\u4e00\u4e2aXML\u6587\u4ef6\uff0c\u5177\u6709\u56db\u4e2a\u57fa\u672c\u7ec4\u6210\u90e8\u5206\uff1a\u4fe1\u5c01(envelope)\u3001\u4fe1\u5934(header)\u3001\u5185\u5bb9(body)\u548c\u51fa\u9519(fault)\u3002 WSDL\u4e5f\u662f\u4e00\u79cd\u57fa\u4e8eXML\u7684\u8bed\u8a00\uff0c\u76f4\u8bd1\u662f\u7f51\u7edc\u670d\u52a1\u63cf\u8ff0\u8bed\u8a00\uff0c\u5b83\u63cf\u8ff0\u4e86\u4e00\u4e2aWeb Service\u6240\u63d0\u4f9b\u7684\u64cd\u4f5c\u4ee5\u53ca\u5b83\u7684\u63a5\u53e3\u5b9a\u4e49\u3002 UDDI\u662f\u4e00\u4e2aWeb Service\u7684\u6ce8\u518c\u767b\u8bb0\u5904\uff0c\u7528\u6237\u901a\u8fc7\u5b83\u53ef\u4ee5\u67e5\u627e\u5230\u5f53\u524d\u5df2\u7ecf\u53d1\u5e03\u7684Web Service\u6709\u54ea\u4e9b\u53ca\u5728\u54ea\u91cc\u53ef\u4ee5\u627e\u5230\u3002 \u6709\u4e86\u8fd9\u4e9b\u6280\u672f\uff0c\u6211\u4eec\u73b0\u5728\u53ef\u4ee5\u5b9a\u4e49\uff1a\u4e00\u4e2aWeb Service\u662f\u4e00\u4e2a\u53d1\u5e03\u5728\u7f51\u7edc\u4e0a\u7684\uff0c\u53ef\u4ee5\u901a\u8fc7SOAP\u8bbf\u95ee\u7684\uff0c\u7531WSDL\u63cf\u8ff0\u7684\uff0c\u5728UDDI\u6ce8\u518c\u767b\u8bb0\u7684\u7f51\u7edc\u670d\u52a1\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts\/50"}],"collection":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":0,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prglab.com\/blog\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}