Cov txheej txheem:

Koj tuaj yeem tshawb xyuas cov xab npum thov hauv Postman li cas?
Koj tuaj yeem tshawb xyuas cov xab npum thov hauv Postman li cas?

Video: Koj tuaj yeem tshawb xyuas cov xab npum thov hauv Postman li cas?

Video: Koj tuaj yeem tshawb xyuas cov xab npum thov hauv Postman li cas?
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Kaum ib hlis
Anonim

Txhawm rau ua SOAP thov siv Postman:

  1. Muab cov SOAP endpoint raws li qhov URL. Yog tias koj siv a WSDL , ces muab txoj kev mus rau lub WSDL raws li qhov URL.
  2. Teeb lub thov method rau POST.
  3. Qhib cov editor raw, thiab teeb lub cev hom li "ntawv nyeem / xml".
  4. Hauv thov cev, define SOAP Lub hnab ntawv, Header thiab lub cev cim npe raws li xav tau.

Kuj nug tias, xab npum puas siv Tau lossis Post?

Nws yog theoretically ua tau siv GET vim POST thiab Tau yog cov txheej txheem ntawm HTTP thauj raws tu qauv thiab SOAP tuaj yeem siv dhau HTTP. Tab sis raws li koj paub, Tau suav nrog cov lus thov hauv kab lus nug.

Ib yam li ntawd, koj xa cov ntaub ntawv XML li cas hauv SOAP thov? Nov yog li cas:

  1. Nkag mus rau SOAP qhov kawg raws li qhov kev thov URL hauv Postman.
  2. Teem txoj kev thov rau POST.
  3. Nyob rau hauv lub cev tab, teem lub cev hom rau raw thiab xaiv XML (ntawv nyeem / xml) los ntawm dropdown.
  4. Hauv daim ntawv thov, txhais lub hnab ntawv SOAP, lub cev, thiab cov ntawv cim npe.

Qhov sib thooj, qhov kev thov SOAP yog dab tsi?

SOAP yog XML-based raws tu qauv rau kev nkag mus rau lub vev xaib kev pabcuam dhau HTTP. Nws muaj qee qhov tshwj xeeb uas tuaj yeem siv thoob plaws txhua daim ntawv thov. SOAP yog ib txoj kev cai los yog lwm yam lus yog ib lub ntsiab lus ntawm yuav ua li cas cov kev pab cuam hauv web sib tham los yog tham nrog cov neeg siv cov kev thov uas hu lawv.

Puas yog tag nrho SOAP thov xa?

SOAP kuj txhais ib qho kev khi rau HTTP raws tu qauv. Thaum khi rau HTTP, tag nrho SOAP thov xa los ntawm HTTP POST.

Pom zoo: