{"id":232214,"date":"2021-12-25T10:56:13","date_gmt":"2021-12-25T02:56:13","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=232214"},"modified":"2021-12-17T10:56:46","modified_gmt":"2021-12-17T02:56:46","slug":"the-wsdl-port","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/the-wsdl-port.html","title":{"rendered":"\u4e86\u89e3\u4e0bWSDL \u7aef\u53e3"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nWSDL \u662f\u57fa\u4e8e XML \u7684\u7528\u4e8e\u63cf\u8ff0 Web Services \u4ee5\u53ca\u5982\u4f55\u8bbf\u95ee Web Services \u7684\u8bed\u8a00\u3002<portType> \u5143\u7d20\u662f\u6700\u91cd\u8981\u7684 WSDL \u5143\u7d20\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

WSDL \u7aef\u53e3<\/strong><\/div>\n

<portType> \u5143\u7d20\u662f\u6700\u91cd\u8981\u7684 WSDL \u5143\u7d20\u3002<\/p>\n

\u5b83\u53ef\u63cf\u8ff0\u4e00\u4e2a web service\u3001\u53ef\u88ab\u6267\u884c\u7684\u64cd\u4f5c\uff0c\u4ee5\u53ca\u76f8\u5173\u7684\u6d88\u606f\u3002<\/p>\n

\u53ef\u4ee5\u628a <portType> \u5143\u7d20\u6bd4\u4f5c\u4f20\u7edf\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u4e00\u4e2a\u51fd\u6570\u5e93\uff08\u6216\u4e00\u4e2a\u6a21\u5757\u3001\u6216\u4e00\u4e2a\u7c7b\uff09\u3002<\/p>\n

\u64cd\u4f5c\u7c7b\u578b<\/strong><\/div>\n

\u8bf7\u6c42-\u54cd\u5e94\u662f\u6700\u666e\u901a\u7684\u64cd\u4f5c\u7c7b\u578b\uff0c\u4e0d\u8fc7 WSDL \u5b9a\u4e49\u4e86\u56db\u79cd\u7c7b\u578b\uff1a<\/p>\n\n\n\n\n\n\n\n
\u7c7b\u578b<\/th>\n\u5b9a\u4e49<\/th>\n<\/tr>\n
One-way<\/td>\n\u6b64\u64cd\u4f5c\u53ef\u63a5\u53d7\u6d88\u606f\uff0c\u4f46\u4e0d\u4f1a\u8fd4\u56de\u54cd\u5e94\u3002<\/td>\n<\/tr>\n
Request-response<\/td>\n\u6b64\u64cd\u4f5c\u53ef\u63a5\u53d7\u4e00\u4e2a\u8bf7\u6c42\u5e76\u4f1a\u8fd4\u56de\u4e00\u4e2a\u54cd\u5e94<\/td>\n<\/tr>\n
Solicit-response<\/td>\n\u6b64\u64cd\u4f5c\u53ef\u53d1\u9001\u4e00\u4e2a\u8bf7\u6c42\uff0c\u5e76\u4f1a\u7b49\u5f85\u4e00\u4e2a\u54cd\u5e94\u3002<\/td>\n<\/tr>\n
Notification<\/td>\n\u6b64\u64cd\u4f5c\u53ef\u53d1\u9001\u4e00\u6761\u6d88\u606f\uff0c\u4f46\u4e0d\u4f1a\u7b49\u5f85\u54cd\u5e94\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
One-Way \u64cd\u4f5c<\/strong><\/div>\n

\u4e00\u4e2a one-way \u64cd\u4f5c\u7684\u4f8b\u5b50\uff1a<\/p>\n

\u5b9e\u4f8b<\/strong><\/p>\n

<<\/span>message<\/span> <\/span>name<\/span>=<\/span>\"<\/span>newTermValues<\/span>\"<\/span>><\/span>\r\n  <\/span><<\/span>part<\/span> <\/span>name<\/span>=<\/span>\"<\/span>term<\/span>\"<\/span> <\/span>type<\/span>=<\/span>\"<\/span>xs:string<\/span>\"<\/span>\/><\/span>\r\n  <\/span><<\/span>part<\/span> <\/span>name<\/span>=<\/span>\"<\/span>value<\/span>\"<\/span> <\/span>type<\/span>=<\/span>\"<\/span>xs:string<\/span>\"<\/span>\/><\/span>\r\n<\/span><\/<\/span>message<\/span>><\/span>\r\n \r\n<\/span><<\/span>portType<\/span> <\/span>name<\/span>=<\/span>\"<\/span>glossaryTerms<\/span>\"<\/span>><\/span>\r\n  <\/span><<\/span>operation<\/span> <\/span>name<\/span>=<\/span>\"<\/span>setTerm<\/span>\"<\/span>><\/span>\r\n    <\/span><<\/span>input<\/span> <\/span>name<\/span>=<\/span>\"<\/span>newTerm<\/span>\"<\/span> <\/span>message<\/span>=<\/span>\"<\/span>newTermValues<\/span>\"<\/span>\/><\/span>\r\n  <\/span><\/<\/span>operation<\/span>><\/span>\r\n<\/span><\/<\/span>portType<\/span> <\/span>><\/span><\/pre>\n

\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u7aef\u53e3 \"glossaryTerms\" \u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a \"setTerm\" \u7684 one-way \u64cd\u4f5c\u3002<\/p>\n

\u8fd9\u4e2a \"setTerm\" \u64cd\u4f5c\u53ef\u63a5\u53d7\u65b0\u672f\u8bed\u8868\u9879\u76ee\u6d88\u606f\u7684\u8f93\u5165\uff0c\u8fd9\u4e9b\u6d88\u606f\u4f7f\u7528\u4e00\u6761\u540d\u4e3a \"newTermValues\" \u7684\u6d88\u606f\uff0c\u6b64\u6d88\u606f\u5e26\u6709\u8f93\u5165\u53c2\u6570 \"term\" \u548c \"value\"\u3002\u4e0d\u8fc7\uff0c\u6ca1\u6709\u4e3a\u8fd9\u4e2a\u64cd\u4f5c\u5b9a\u4e49\u4efb\u4f55\u8f93\u51fa\u3002<\/p>\n

Request-Response \u64cd\u4f5c<\/strong><\/div>\n

\u4e00\u4e2a request-response \u64cd\u4f5c\u7684\u4f8b\u5b50\uff1a<\/p>\n

\u5b9e\u4f8b<\/strong><\/p>\n

<<\/span>message<\/span> <\/span>name<\/span>=<\/span>\"<\/span>getTermRequest<\/span>\"<\/span>><\/span>\r\n  <\/span><<\/span>part<\/span> <\/span>name<\/span>=<\/span>\"<\/span>term<\/span>\"<\/span> <\/span>type<\/span>=<\/span>\"<\/span>xs:string<\/span>\"<\/span>\/><\/span>\r\n<\/span><\/<\/span>message<\/span>><\/span>\r\n \r\n<\/span><<\/span>message<\/span> <\/span>name<\/span>=<\/span>\"<\/span>getTermResponse<\/span>\"<\/span>><\/span>\r\n  <\/span><<\/span>part<\/span> <\/span>name<\/span>=<\/span>\"<\/span>value<\/span>\"<\/span> <\/span>type<\/span>=<\/span>\"<\/span>xs:string<\/span>\"<\/span>\/><\/span>\r\n<\/span><\/<\/span>message<\/span>><\/span>\r\n \r\n<\/span><<\/span>portType<\/span> <\/span>name<\/span>=<\/span>\"<\/span>glossaryTerms<\/span>\"<\/span>><\/span>\r\n  <\/span><<\/span>operation<\/span> <\/span>name<\/span>=<\/span>\"<\/span>getTerm<\/span>\"<\/span>><\/span>\r\n    <\/span><<\/span>input<\/span> <\/span>message<\/span>=<\/span>\"<\/span>getTermRequest<\/span>\"<\/span>\/><\/span>\r\n    <\/span><<\/span>output<\/span> <\/span>message<\/span>=<\/span>\"<\/span>getTermResponse<\/span>\"<\/span>\/><\/span>\r\n  <\/span><\/<\/span>operation<\/span>><\/span>\r\n<\/span><\/<\/span>portType<\/span>><\/span><\/pre>\n

\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u7aef\u53e3 \"glossaryTerms\" \u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a \"getTerm\" \u7684 request-response \u64cd\u4f5c\u3002<\/p>\n

\"getTerm\" \u64cd\u4f5c\u4f1a\u8bf7\u6c42\u4e00\u4e2a\u540d\u4e3a \"getTermRequest\" \u7684\u8f93\u5165\u6d88\u606f\uff0c\u6b64\u6d88\u606f\u5e26\u6709\u4e00\u4e2a\u540d\u4e3a \"term\" \u7684\u53c2\u6570\uff0c\u5e76\u5c06\u8fd4\u56de\u4e00\u4e2a\u540d\u4e3a \"getTermResponse\" \u7684\u8f93\u51fa\u6d88\u606f\uff0c\u6b64\u6d88\u606f\u5e26\u6709\u4e00\u4e2a\u540d\u4e3a \"value\" \u7684\u53c2\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

<portType> \u5143\u7d20\u662f\u6700\u91cd\u8981\u7684 WSDL \u5143\u7d20\u3002 \u5b83\u53ef\u63cf\u8ff0\u4e00\u4e2a web service\u3001\u53ef\u88ab […]<\/p>\n","protected":false},"author":321,"featured_media":232215,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-232214","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/232214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/321"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=232214"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/232214\/revisions"}],"predecessor-version":[{"id":232218,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/232214\/revisions\/232218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/232215"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=232214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=232214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=232214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}