{"id":372,"date":"2009-02-06T17:08:17","date_gmt":"2009-02-06T22:08:17","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=372"},"modified":"2009-02-09T11:06:24","modified_gmt":"2009-02-09T16:06:24","slug":"wsdl","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=372","title":{"rendered":"WSDL"},"content":{"rendered":"<p><strong>Overview<\/strong><br \/>\n*WSDL is an XML document<br \/>\n*WSDL is used to describe web services<br \/>\n*Extensible (detail?)<\/p>\n<p><strong>Construct<\/strong><br \/>\n*Types: defines data types using XSD (schema).<\/p>\n<pre lang=\"xml\">\r\n<types>\r\n  <schema targetNamespace=\"http:\/\/example.com\/stockquote.xsd\"\r\n    xmlns=\"http:\/\/www.w3.org\/2000\/10\/XMLSchema\">\r\n    <element name=\"TradePriceRequest\">\r\n      <complexType>\r\n        <all>\r\n          <element name=\"tickerSymbol\" type=\"string\"\/>\r\n        <\/all>\r\n      <\/complexType>\r\n    <\/element>\r\n    <element name=\"TradePrice\">\r\n      <complexType>\r\n        <all>\r\n          <element name=\"price\" type=\"float\"\/>\r\n        <\/all>\r\n      <\/complexType>\r\n    <\/element>\r\n  <\/schema>\r\n<\/types>\r\n<\/pre>\n<p>*Message: an abstract, typed definition of data being communicated (parameter).<\/p>\n<pre lang=\"xml\">\r\n<message name=\"GetLastTradePriceInput\">\r\n  <part name=\"body\" element=\"xsd1:TradePriceRequest\"\/>\r\n<\/message>\r\n\r\n<message name=\"GetLastTradePriceOutput\">\r\n  <part name=\"body\" element=\"xsd1:TradePrice\"\/>\r\n<\/message>\r\n<\/pre>\n<p>*Operation: an abstract description of an action (method).<\/p>\n<pre lang=\"xml\">\r\n<operation name=\"GetLastTradePrice\">\r\n  <input message=\"tns:GetLastTradePriceInput\"\/>\r\n  <output message=\"tns:GetLastTradePriceOutput\"\/>\r\n<\/operation>\r\n<\/pre>\n<p>*Port Type: an abstract collection of operations (class). <\/p>\n<pre lang=\"xml\">\r\n<portType name=\"StockQuotePortType\">\r\n  <operation name=\"GetLastTradePrice\">\r\n     <input message=\"tns:GetLastTradePriceInput\"\/>\r\n     <output message=\"tns:GetLastTradePriceOutput\"\/>\r\n  <\/operation>\r\n<\/portType>\r\n<\/pre>\n<p>*Binding: communication protocol (protocol).<\/p>\n<pre lang=\"xml\">\r\n<binding name=\"StockQuoteSoapBinding\" type=\"tns:StockQuotePortType\">\r\n  <soap:binding style=\"document\" transport=\"http:\/\/schemas.xmlsoap.org\/soap\/http\"\/>\r\n  <operation name=\"GetLastTradePrice\">\r\n     <soap:operation soapAction=\"http:\/\/example.com\/GetLastTradePrice\"\/>\r\n     <input>\r\n         <soap:body use=\"literal\"\/>\r\n     <\/input>\r\n     <output>\r\n         <soap:body use=\"literal\"\/>\r\n     <\/output>\r\n  <\/operation>\r\n<\/binding>\r\n<\/pre>\n<p>*Port: a single endpoint, i.e. binding + network address.<\/p>\n<pre lang=\"xml\">\r\n<port name=\"StockQuotePort\" binding=\"tns:StockQuoteBinding\">\r\n   <soap:address location=\"http:\/\/example.com\/stockquote\"\/>\r\n<\/port>\r\n<\/pre>\n<p>*Service: a collection of endpoints (ports).<\/p>\n<pre lang=\"xml\">\r\n<service name=\"StockQuoteService\">\r\n  <documentation>My first service<\/documentation>\r\n  <port name=\"StockQuotePort\" binding=\"tns:StockQuoteBinding\">\r\n    <soap:address location=\"http:\/\/example.com\/stockquote\"\/>\r\n  <\/port>\r\n<\/service>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Overview *WSDL is an XML document *WSDL is used to describe web services *Extensible (detail?) Construct *Types: defines data types using XSD (schema). *Message: an abstract, typed definition of data being communicated (parameter). *Operation: an abstract description of an action &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=372\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[43],"tags":[],"class_list":["post-372","post","type-post","status-publish","format-standard","hentry","category-ws-stds"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s8cRUO-wsdl","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=372"}],"version-history":[{"count":12,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":391,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/372\/revisions\/391"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}