Kawm txog cov khoom siv yooj yim nkag yooj yim (SOAP)

XAB yog dab tsi? XML SOAP yog ib hom lus uas tso cai rau ib qhov kev zov me nyuam khiav ntawm ib qho kev khiav hauj lwm muaj sib txuas lus nrog lwm cov kev pab cuam hauv lwm qhov kev khiav hauj lwm hauv internet.

Ib pawg ntawm cov neeg muag khoom los ntawm Microsoft, IBM, Lotus, thiab lwm tus, tsim ib qho xais-xais XML uas cia koj qhib cov ntaub ntawv lossis khoom hauv ib daim ntawv thov thoob plaws hauv Internet. SOAP codifies qhov kev xyaum siv cov XML thiab HTTP los ua txoj kev ua haujlwm thoob plaws cov tes hauj lwm thiab lub computer platforms.

Nrog rau kev xa tawm thiab cov kev siv web site, thov rau ib daim ntawv thov los ntawm ib lub computer (tus "neeg") thiab kis mus rau hauv Internet mus rau lwm lub computer (tus "neeg rau zaub mov"). Muaj ntau txoj kev ua qhov no, tab sis SOAP ua rau nws yooj yim los ntawm kev siv XML thiab HTTP - uas yog cov txheej txheem web tsim.

Web Applications thiab xab NPUM

Web daim ntaub ntawv yog qhov twg SOAP tiag los rau nws tus kheej. Thaum koj saib lub vev xaib koj tab tom siv lub web browser los nug ib qho web server thiab saib lub vev xaib. Nrog cov tshuaj SOAP, koj yuav siv koj lub npe thov kev pab hauv computer los nug ib tus neeg rau zaub mov thiab khiav ib qho kev pab cuam. Koj tsis tuaj yeem ua nrog rau cov nplooj ntawv web lossis HTML.

Rau Piv Txwv

Tam sim no, koj yuav siv online banking rau koj cov account hauv txhab cia nyiaj. Kuv lub txhab nyiaj muaj cov kev xaiv nram no:

Thaum lub sij hawm qhib no muaj peb daim ntawv sau npe, lawv feem ntau yog cais. Yog li ntawd, yog tias kuv mus rau hauv tshooj nyiaj tshuav kuv tsis tuaj yeem hloov cov nyiaj ntawm kuv tus as-qhauj qiv rau kuv daim credit card, thiab kuv tsis tuaj yeem saib kuv cov nyiaj tiv nqi thaum kuv nyob hauv daim ntawv them nqi online.

Ib qho ntawm cov txheej xwm uas peb sib cais yog vim lawv nyob rau hauv cov cav tov txawv. Ie. qhov kev zov me nyuam uas tau them nuj nqi online yog them rau ib tus neeg siv lub computer, thaum cov yas qiv nyiaj thiab daim ntawv sau them nyiaj rau lwm tus. Nrog cov tshuaj ntxuav tes, qhov no tsis txawv. Tej zaum koj yuav muaj Java txoj kev uas tau txais ib qho nyiaj tshuav nyiaj hu ua getAccount.

Nrog rau cov txheej txheem web-based, cov qauv no tsuas muaj rau cov kev pab cuam uas hu nws thiab nyob rau tib neeg rau zaub mov. Siv cov tshuaj PLAS, koj tuaj yeem nkag rau qhov kev hla hauv Internet ntawm HTTP thiab XML.

Ua li cas SOAP Siv

Muaj ntau ntau daim ntawv thov rau cov tshuaj ntxuav SOAP, ntawm no yog ib khub niam txiv:

Ib qho uas yuav tsum tau xav txog thaum siv cov tshuaj SOAP rau koj tus neeg ua lag luam ua lag luam yog tias muaj ntau txoj hau kev ua qhov qub tshaj plaws uas NPAS ua. Tab sis tus naj npawb ib qho txiaj ntsim uas koj yuav tau txais los ntawm kev siv xab npum SOAP yog nws qhov yooj yim. SOAP yog XML thiab HTTP sib koom uake kom xa thiab tau txais cov lus tshaj hauv Internet. Nws tsis yog txwv los ntawm daim ntawv thov lus (Java, C #, Perl) lossis lub platform (Qhov rai, UNIX, Mac), thiab qhov no ua rau ntau ntau yam tshaj li lwm cov kev daws teeb meem.