Qhov txawv ntawm WSDL thiab Wadl yog dab tsi?
Qhov txawv ntawm WSDL thiab Wadl yog dab tsi?

Video: Qhov txawv ntawm WSDL thiab Wadl yog dab tsi?

Video: Qhov txawv ntawm WSDL thiab Wadl yog dab tsi?
Video: Qhov Txawv Ntawm Lus Hmoob Thiab Lus Mab Mawb 2024, Kaum ib hlis
Anonim

WSDL Lub Web Service Description Language ( WSDL ) yog cov lus XML siv los piav txog SOAP-based web services. WADL Lub Web Application Description Language ( WADL ) yog ib lo lus XML siv los piav txog RESTful web services.

Ib yam li ntawd, nws tau nug, WADL thiab WSDL yog dab tsi?

Lub Web Application Description Language ( WADL ) yog lub tshuab nyeem tau XML cov lus piav qhia ntawm HTTP-based web services. WADL yog REST sib npaug ntawm SOAP's Web Services Description Language ( WSDL ), uas tuaj yeem siv los piav txog REST web cov kev pabcuam.

Ib sab saum toj no, qhov txawv ntawm REST thiab SOAP yog dab tsi? KEV SIJ HAWM SOAP stands rau Simple Object Access Protocol whereas REST sawv cev rau Kev Sawv Cev Hauv Xeev. SOAP tsuas yog ua haujlwm nrog XML hom ntawv whereas REST ua haujlwm nrog cov ntawv dawb, XML, HTML thiab JSON. SOAP tsis tuaj yeem siv REST hos REST tuaj yeem siv tau SOAP.

Ib yam li ntawd, tej zaum koj yuav nug, siv cov ntaub ntawv Wadl yog dab tsi?

WADL yog lub tshuab nyeem tau XML cov lus piav qhia ntawm HTTP raws web-kev pabcuam. WADL yog npaj los ua kom yooj yim rau kev rov qab siv cov kev pabcuam web uas yog raws li HTTP architecture ntawm lub vev xaib. Nws yog lub platform thiab lus ywj pheej thiab lub hom phiaj los txhawb kev rov siv cov ntawv thov dhau qhov pib siv hauv web browser.

Puas yog WSDL SOAP lossis REST?

SOAP (Yooj yim Object Access Protocol): SOAP siv WSDL rau kev sib txuas lus ntawm cov neeg siv khoom thiab tus neeg muab kev pabcuam, whereas REST tsuas yog siv XML lossis JSON xa thiab txais cov ntaub ntawv. WSDL txhais cov ntawv cog lus ntawm cov neeg siv khoom thiab kev pabcuam thiab zoo li qub los ntawm nws qhov xwm txheej. SOAP tsim ib qho XML raws tu qauv rau saum HTTP lossis qee zaum TCP / IP.

Pom zoo: