å æ¥ã®ç¤¾å ã»ããã¼ã«ã¦RESTã¨ãããã¼ã¯ã¼ããç»å ´ãã説æããã¾ããã èªåã§ãä½ã®ãã¨ããã¨åå¼·ãã¦ããã®ã§ãããæ¦å¿µçãªãã®ã§åãã£ããã ããã©ããªãã ãããåãããªãã£ãã®ã§ããããªãã¨ãªãåãã£ãæ°ããã¾ããã RESTã¨ã¯ããï¼ ï¼ï¼1URLã1ã¤ã®ããã®ããæã ï¼ï¼ããã®ãã¸ã®æä½ã¯HTTPã®METHODã§è¡¨ç¾ ï¼ï¼ã¹ãã¼ãã¬ã¹ ã¾ãããæ¸ãã¦ã¿ãã¨ããããRESTã®èª¬æãã®ãã®ãªãã§ããã»ã»ã ï¼ï¼ã®èª¬æã§ãããã®URLããã£ãã¨ãã¾ãã http://localhost/hoge ä¸è¨URLã¯hogeãã¼ãã«ã®å ¨ãã¼ã¿ãæãã¾ãã http://localhost/hoge/1 ä¸è¨URLã¯hogeãã¼ãã«ã®index=1ã®è¡ãæãã¾ãã ãããªã¤ã¡ã¼ã¸ã®URLè¨è¨ãããå¿ è¦ãããã¨ããã®ãRESTã§ãã ï¼ï¼ã®èª¬æã§ãããï¼ï¼ã«ãã£ãããã« http://localh
(Last Updated On: 2008å¹´1æ18æ¥)GNUCITIZENã¯éè¦ãªã»ãã¥ãªãã£åé¡ã次ã ã«å ¬éãã¦ããã®ã§ã»ãã¥ãªãã£ã«èå³ãããæ¹ã¯ãã§ãã¯ãã¦ããã®ã§ãåç¥ã¨ã¯æãã¾ããã Hacking The Interwebs http://www.gnucitizen.org/blog/hacking-the-interwebs ã«é常ã«ã¯æ·±å»ãªã»ãã¥ãªãã£åé¡ã解説ãã¦ããã¾ããå ·ä½çãªæ»ææ¹æ³ãªã©ã¯GNUCITIZENãåç §ãã¦ãã ãããæ¥æ¬ã§ãããããæ¸ãããããªãã¨æã£ã¦ããã®ã§ããäºæ³ããå°ãªãã®ã§ããã°ã«æ¸ããã¨ã«ãã¾ããããã§ã¯éè¦ãªé¨åã ãè¦ç´ãã¦æ¸ãã¾ãã æ»æ Flashãå©ç¨ããUPnPã«ã¼ã¿ã®æ»æã·ããªãªã¯ä»¥ä¸ã«ãªãã¾ãã UPnPãæå¹ãªã«ã¼ã¿ããã æªæã®ããFlashãWebãã©ã¦ã¶ã§åç §ãã UPnPã«ã¼ã¿ã®è¨å®ãå¤æ´ããSOAPãªã¯ã¨ã¹ãã
REST(åèè¨äºã»è±èª)ã«é¢ããè°è«ã¯è¡ãè©°ã£ã(åèè¨äºã»è±èª)ããããã¯çµãã£ã(åèè¨äºã»è±èª)ã¨ä¸é¨ã®äººã (source)ãèãã¦ããã¨ãã«ãGanesh Prasadæ°(ããã°ã»è±èª)ã¯RESTãããæ ¹æºç㧠(ããè¯ã) ç©ããããã¨ç¤ºåãã¦è°è«ãåçããããã¨ãã(source)ãå½¼ã¯ãRESTã«é¢ããè°è«ã¯ãã°ããå ã ããããã¦ããã¨ãããç§ã¯RESTã好ãã§ãããSOAã«ãããé常ã«ã¨ã¬ã¬ã³ããªã¢ãã«ã ã¨èãã¦ãã¾ãããããSOAPãã¼ã¹ã®Webãµã¼ãã¹ã¢ãã«ãããã©ãã»ã©ã¨ã¬ã¬ã³ããããæ¯æ¥æ¯æ¥èããããã®ã¯å°ãéå±ã§ããå®éã©ããããéå±ãã¨è¨ãã¨ãä»ã¾ãã«ç§ããããªè¾è¾£ãªæ 度ãRESTafarians (RESTã®ä¿¡å¥è ) ã«å¯¾ãã¦ã¨ããã¨ãã¦ããã»ã©ã§ããããããå½¼ã¯ãRESTafarianãã¡ãèªåãã¡ã®æ ãæã«ãã¦ããä¸å¿åçãããã¤ãç´¹ä»ãã(source
æ£ç´ãä¸å³¶è¡ããã¨ãããã人ããããªã¨ã³ããªã¼ãæ¸ããªãã¦ã SOAPã¯å¿ è¦ã§ä½¿ããããå ´é¢ãããã°å¿ è¦ããªãå ´é¢ããããJSONã ã£ã¦ä½¿ããããå ´é¢ã¨ä½¿ãã«ããå ´é¢ãããããããããããã "Hello World"ã¨ããä¸æã表示ããããã°ã©ã ãæ¸ãã¨ããJavaãC#ã¯è¡æ°ãå¢ãã¦ãã¾ãããããLLã ãã§ããããï¼ã¨ãã£ã¦ãã®ã¨åãããã ããªãã ããããApacheSOAPã§æå®è£ ããã¨ãã¯XMLãæ±ãããã©ã¼ãã³ã¹ãé ãã£ãããXPathãæ¨æºã§æ±ããªãã£ããã¨çµæ§å¤§å¤ã ã£ãããã¼ã¹ãXML-RPCã¨ãããã¨ã§é常ã«ã·ã³ãã«ãªå®è£ ã ã£ããããªããã£ããªå¼æ°ã¨æ»ãå¤ã使ãå ´åä½ãé£ãããã¨ã¯ãªãã£ããã·ã³ãã«ãã§è¨ãã°XML-RPCã®ã»ããä¸ã ã£ãããé¢åãªè¨è¿°ããããã¨ã«ãã£ã¦ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã丸ãã¨éããã¨ã¯ä¸å¿åºæ¥ããããã¾ã§ãé¢åãªè¨è¿°ã¯ãªãã·ã§ã³ã§ãã£ã¦å¿ é ã§ã¯ãªãã£
ããªãã¯ãSOAP Webãµã¼ãã¹ã®éçºãå§ãã¦ãã¾ããï¼ãããããªããããªãã¯2ã¤ã®éçºã¹ã¿ã¤ã«ãé¸ã¶ãã¨ãã§ãã¾ãã第1ã«ããWSDLããéå§ããããããã¯ãã³ã³ãã©ã¯ããã¡ã¼ã¹ããã¨å¼ã°ãããã®ã§ãWSDLã®ãµã¼ãã¹å®ç¾©ã¨ãã¼ã¿å¤æãç´æ¥è¡ãããã®é¢é£ããXMLã¹ãã¼ããè¨è¨ãããã®ã§ãã第2ã«ããã³ã¼ãããéå§ããããããã¯ãã³ã¼ããã¡ã¼ã¹ããã¨å¼ã°ãããã®ã§ããµã³ãã«ã¨ãªããµã¼ãã¹ã®ã³ã¼ãããã¬ã¼ã ã¯ã¼ã¯ã«æ¿å ¥ãããã®ã³ã¼ãããWSDLãã¹ãã¼ããçæãããã®ã§ãã ãããã®éçºã¹ã¿ã¤ã«ã§ããæçµç®æ¨ã¯åãã§ããã¤ã¾ãããµã¼ãã¹ã«å¯¾ããã¡ãã¨å®ç¾©ãããWSDLã¨ã¹ãã¼ããå¿ è¦ãªã®ã§ããSOAã®ç°å¢ã§ä½æ¥ããã¦ããå ´åããã®ç®æ¨ã¯é常ã«éè¦ã§ããSOAã¯ãµã¼ãã¹ã®ççµåãå¿ è¦ã¨ããã®ã§ããã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãåºã¾ããå®è£ ããåãé¢ããããã®ã§ãªããã°ãªãã¾ãããWSDLã¨ã¹ãã¼ãã«
Security is the one area where the WS-* world has developed a set of standards that provide significantly more functionality than has so far been standardized in the REST world. I don't believe that this is an inherent limitation of REST; I'm convinced there's an opportunity to standardize better security for the REST world. So I've been giving quite a lot of thought to the issue of what the REST
Powered by: newtelligence dasBlog 1.9.7067.0 The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. © Copyright 2008 , Ted Neward E-mail David Chappelle, a man I greatly respect and admire, recently blogged that ... the war between REST and WS-* is over. The war ended in a truce rather than crushing victory for one side--it's Korea, n
GET /WebSite1/WebService.asmx/getHello?str=string HTTP/1.1 Host: localhost HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string> RESTã¯ãWebãã©ã¦ã¶ã®Ajaxããã¯ã©ã¤ã¢ã³ãã¢ããªãã使ãå ´åããããããµã¼ãéã®ã·ã¹ãã é£æºã§ã使ãã RESTã®æ大ã®ç¹å¾´ã¯ãWebãã©ã¦ã¶ã«URLãå ¥åããã°åä½ç¢ºèªã§ãããäºã§ããã Webãã©ã¦ã¶ã§å®¹æã«åä½ç¢ºèªãã§ããããããã§ã«åå¨ãã¦ãããµã¼ãã¹ã«å¯¾ãã¦ã¯ãã¾ãã¯ã¢ã¯ã»ã¹ãã¦ã¿ã¦å¿ è¦ãªæ å ±
以åããã°ã«ãæ¸ãã¾ããããXML-RPC,SOAP,RESTã®åºå¥ãå ¨ç¶åºæ¥ã¦ããªãã¨ããå°ã£ãç¶æ³ã ã£ãã®ã§ãã¡ãã£ã¨æ°åãå ¥ãã¦èª¿ã¹ã¦ã¿ã¾ããã 以ä¸ãããããã®ç¹å¾´ãç°¡åã«ã¾ã¨ããã¡ã¢ã XML-RPC(XML Remote Procedure Call) 1998å¹´ã«çå®ããããæ¯è¼çã·ã³ãã«ãªä»æ§ã XMLãå©ç¨ãã¦ãããã¯ã¼ã¯è¶ãã«ãµã¼ãã¼å´ã®ãªãããã®å¦çãå¼ã³åºããçµæãXMLã§åãåãã ã¯ã©ã¤ã¢ã³ããããµã¼ãã¼ã¸ã®ã¢ã¯ã»ã¹ã«ã¯ãHTTPã®POSTãç¨ããã ãªã¯ã¨ã¹ãã¯Headerã¨ãBodyã§æ§æããããBodyé¨åã¯XMLã§è¡¨ç¾ããã Headeré¨åã®ããUser-AgentãããHostãããContent-TypeãããContent-Lengthãã¯å¿ é ã æ»ãå¤ã¯è¤æ°ã®å¤ãã¨ããªãããæ»ãå¤ãé åã«ãããã¨ã§è¤æ°ã®å¤ãè¿ããã SOAP(Simple O
S ã¯ã·ã³ãã«ã® S è±èªã®blogã®è¨äºãå訳ãã¦ãããã¾ãã åæã¸ã®ãªã³ã¯ãä¸è¨ã®ãã¼ã¸ã«ããã¾ãã SOAPã®æ¨æºã§ããã¨ãç¸äºéç¨æ§ã«ã¤ãã¦çã調ã¹ã¦ãã㨠ããããªçåã«ã¶ã¤ããã¾ãã ãããªããããã«æãããã¨ããã¦ããã¾ãã
ä¾ã«ãã£ã¦ããã®ã¨ã³ããªã¯å人çãªæè¦ã«éãã¾ããã æç°ããã®ã¨ããçµç±ã§ã Sã¯ã·ã³ãã«ã®S ã¨ããã®ãèªãã§ã失礼ãªãã大ç¬ããã¦ãã¾ãã¾ãããSOAPãæåã«åºãã¨ãã«ã¯ãTransportã«ä¾åããªãXMLã«ããã¡ãã»ã¼ã¸é é表ç¾ã¨ãããã¨ã§ã確ãã«ã·ã³ãã«ãªãã®ã§ããã ã¾ããç¾å®ã«ãªã«ãèµ·ãã£ãã®ãã¨ããä¸ã¤ã®è¦æ¹ã¨ãã¦ããã®ãªã³ã¯ããã©ã£ã¦ã¿ãã¨ããã§ããããããããç§ãä¸åå¼·ã§ãããwrapped-doc/litãªããã®ããç¾å¨ã¯ãã£ã¦ãããã¨ã¯...SOAPã£ã¦ãRPCã«ãããã§ããã¨ã°ããã«æ¯ãåããã¦ãã¾ã£ã¦ãããã§ããããããããã¯ç¾å¨é²è¡å½¢ãªã®ã§ãããwrapped-doc/litãªããã®ãè¦ãéãã SOAPã®æ²åã¯ãçµå±ã®ã¨ããã誰ãããã®ã¬ã¤ã¤ã«è¦ä»¶ãçªã£è¾¼ãã§ãã¾ã£ã¦ãããã§ããã¨ã°ããã«è¤éã«ãªã£ã¦ãã¾ã£ããã¨ã«ããã®ã§ããããSOAPã«ãã£ã¦å¯è½ã«ãª
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}