{"id":313,"date":"2006-04-29T17:03:03","date_gmt":"2006-04-29T09:03:03","guid":{"rendered":"http:\/\/blog.axqd.net\/?p=313"},"modified":"2006-04-29T17:03:03","modified_gmt":"2006-04-29T09:03:03","slug":"strange","status":"publish","type":"post","link":"https:\/\/blog.axqd.net\/?p=313","title":{"rendered":"\u53e4\u7075\u7cbe\u602a"},"content":{"rendered":"<p>\u4ee5\u524d\u4e00\u76f4\u5f88\u60ca\u53f9\u89e3\u6790DOC\u7684quirks\u6a21\u5f0f\uff0c\u5c45\u7136\u80fd\u5728\u5982\u6b64\u591a\u9519\u8bef\u7684\u60c5\u51b5\u4e0b\u5bb9\u9519\uff0c\u4fdd\u6301\u5065\u58ee\u3002\u4f46\u6700\u8fd1\u770b\u770bMacromedia\u516c\u53f8\u7684AS2\u5b98\u65b9\u7c7b\u5e93\uff0c\u624d\u66f4\u4e3a\u60ca\u53f9AS\u811a\u672c\u89e3\u6790\u5668\u7684\u5bb9\u9519\u80fd\u529b\uff1b<br \/>\n\u4ee3\u7801\u91cc\u9762\u4e00\u5806\u5806\u9519\u8bef\uff0c\u786c\u662f\u80fd\u591f\u6b63\u5e38\u8dd1\u8d77\u6765\uff0c\u7ed3\u679c\u653e\u5230Eclipse\u4e0b\uff0c\u4e00\u5927\u5806\u62a5\u9519\uff0c\u7c7b\u5e93\u7f16\u8bd1\u90fd\u901a\u4e0d\u8fc7\uff0c\u7528FDT+Aswing\u968f\u4fbf\u4e2a\u5c0f\u4e1c\u897f\u5c31\u5f97\u6539\u4e00\u5927\u5806\u7684\u9519\u8bef\u624d\u80fd\u8fd0\u884c\uff0c\u968f\u4fbf\u4e3e\u51e0\u4e2a\u4f8b\u5b50\uff1a<br \/>\n\u4ee5\u4e0b\u6458\u6284\u90fd\u662f\u5b98\u65b9\u516c\u5e03\u7c7b\u5e93:<br \/>\nDirectory:<br \/>\nDocuments and SettingsAdministratorLocal SettingsApplication DataMacromediaFlash 8zh_cnConfigurationClasses<br \/>\n<strong>\u4f8b\u4e00\u3001\u7c7b\u578b\u4e0d\u5339\u914d<\/strong><br \/>\n\u4e0d\u8fc7ASv1\u672c\u8eab\u5c31\u662f\u5f31\u7c7b\u578b\u7684\uff0c\u6240\u4ee5\u4e0d\u7b97\u592a\u9519\uff0c\u4f46Number-Date\u771f\u4e0d\u77e5\u8fd0\u884c\u7684\u65f6\u5019\u4e3a\u5565\u4e0d\u4f1a\u9519\uff0c\u56e0\u4e3a\u786e\u5b9e\u6ca1\u627e\u5230\u8f6c\u6362\u51fd\u6570<br \/>\nmxservicesWSDL.as<\/p>\n<p><code>if (src != undefined)<br \/>\n{<br \/>\n  var start = new Date();<br \/>\n  this.wsdl.log.logInfo(\"Received WSDL document from the remote service\", Log.VERBOSE);<br \/>\n  this.parseXML(src);<br \/>\n  this.loaded = true;<br \/>\n  \/\/\u52a0\u5165\u6b64\u884c\uff0c\u771f\u4e0d\u77e5 Math.round(new Date().getMilliseconds())\u9519\u5728\u54ea\u91ccT T<br \/>\n  var end = new Date();<br \/>\n  \/\/106 var parseTime = Math.round(new Date()) - start;<br \/>\n  var parseTime = Math.round((end.getMilliseconds()) - start.getMilliseconds());<br \/>\n  this.wsdl.log.logInfo(\"Parsed WSDL XML [\" + parseTime + \" millis]\", Log.VERBOSE);<br \/>\n}<\/code><br \/>\n<strong>\u4f8b\u4e8c\u3001\u53d8\u91cf\u540d\u91cd\u590d\u5b9a\u4e49<\/strong><br \/>\n<strong>\u4f8b\u4e09\u3001\u7f3a\u5c11\u7ed3\u5c3e\u5206\u53f7<\/strong><br \/>\nmxservicesWebServiceProxy.as<\/p>\n<p><code>  \/\/ Shut off the __resolve<br \/>\n  this.service.__resolve = function(operationName) {<br \/>\n  var callback = new PendingCall();<br \/>\n  callback.genSingleConcurrencyFault = function()<br \/>\n  {<br \/>\n    clearInterval(this.timerID);  \/\/ only once<br \/>\n    \/\/192\u5bf9\u5e94\u4f8b\u4e8c var fault = new SOAPFault(\"Client.NoSuchMethod\",<br \/>\n    var innerFault = new SOAPFault(\"Client.NoSuchMethod\", \"Couldn't find method '\" + operationName + \"' in service!\");<br \/>\n    this.__handleFault(innerFault);<br \/>\n    this.onFault(innerFault);<br \/>\n    \/\/197\u5bf9\u5e94\u4f8b\u4e09<br \/>\n  };<br \/>\n  callback[\"timerID\"] = setInterval(function() { callback.genSingleConcurrencyFault(); }, 50);  \/\/ 5 ms<br \/>\n  return callback;<br \/>\n};<\/code><\/p>\n<p><strong>\u4f8b\u56db\u3001\u76f8\u7b49\u4e0e\u8d4b\u503c\u4e71\u7528<\/strong><br \/>\nmxservicesWSDL.as<\/p>\n<p><code>\/\/ per WSDL 1.1 spec, if message is not named default to op Name plus suffix by mode:<br \/>\nif (message.name == undefined)<br \/>\n{<br \/>\n  if (mode == SOAPConstants.MODE_IN)<br \/>\n  {<br \/>\n    message.name = operationName + \"Request\";<br \/>\n  }<br \/>\n  else<br \/>\n  {<br \/>\n    \/\/598message.name == operationName + \"Response\";<br \/>\n    message.name = operationName + \"Response\";<br \/>\n  }<br \/>\n}<\/code><\/p>\n<p><strong>\u4f8b\u4e94\u3001\u4e0d\u77e5\u4e3a\u4f55<\/strong><br \/>\nmxservicesNameSpace.as<\/p>\n<p><code>\/\/18<br \/>\n  static var _doc = new XML();<br \/>\n\/\/65\u4e0d\u77e5\u4e3a\u4f55\u5fc5\u987b\u4f7f\u7528this\u6765\u8bbf\u95eestatic\u6210\u5458\uff0c\u53cd\u6b63\u5c11\u4e86\u7f16\u4e0d\u8fc7<br \/>\n  var node = this._doc.createTextNode(value);<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u4e00\u76f4\u5f88\u60ca\u53f9\u89e3\u6790DOC\u7684quirks\u6a21\u5f0f\uff0c\u5c45\u7136\u80fd\u5728\u5982\u6b64\u591a\u9519\u8bef\u7684\u60c5\u51b5\u4e0b\u5bb9\u9519\uff0c\u4fdd\u6301\u5065\u58ee\u3002\u4f46\u6700\u8fd1\u770b\u770bMacrome &hellip; <a href=\"https:\/\/blog.axqd.net\/?p=313\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u53e4\u7075\u7cbe\u602a\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-313","post","type-post","status-publish","format-standard","hentry","category-flash"],"_links":{"self":[{"href":"https:\/\/blog.axqd.net\/index.php?rest_route=\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.axqd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.axqd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.axqd.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.axqd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313"}],"version-history":[{"count":0,"href":"https:\/\/blog.axqd.net\/index.php?rest_route=\/wp\/v2\/posts\/313\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.axqd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.axqd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.axqd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}