Thaum ua hauj lwm nrog cov UpdateListItems ntawm lists.asmx, Nws yog ib qho yooj yim uas ua kom muaj qhov yuam kev:
Invalid URL Parameter.
Qhov URL muaj muaj tus hais kom ua lossis tus nqi uas invalid. Thov khij qhov URL dua.
Koj yuav tau txais qhov yuam kev no thaum uas koj hnov qab xws li daim ID hauv cov daim ntawv uas teb yuav hloov. Qhov no, zoo li ntau qhov kev pab no SP Web site, yog ib ntsis counterintuitive txij thaum koj yuav tau mus nrog tus ID tus ID attribute ntawm tus <Txujci> caij. Thiab koj nyob nraum tsis tshiab ID thiab tej zaum koj yeej tsis xav ua tus thawj place.
No lub hnab ntawv uas tsis yog tshuaj ntxuav tes xwb:
<soapenv:Hnab ntawv xmlns:soapenv =' http://schemas.xmlsoap.org/soap/envelope/'> <soapenv:Lub cev> <UpdateListItems xmlns =' http://schemas.Microsoft.com/sharepoint/soap/'> <listName>{C712E2EA-54E1-47AD-9D99-1848C7773E2F}</listName> <tshiab> <Batch OnError ="Mus ntxiv"> <Txujci ID ="1" Cmd ="Hloov tshiab"> <Teb Name ="CooperativeLock">muab tub!</Teb> <Teb Name ="TUS ID">1</Teb> </Txujci> </Batch> </tshiab> </UpdateListItems> </soapenv:Lub cev> </soapenv:Hnab ntawv>
Yog hais tias koj tawm tus ID teb siv strip ces koj mam tau txais annoying "Invalid URL parameter" hais.
</kawg>
Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin
Tsaug, tej yam yooj yim tab sis zoo ncej, Lub sij hawm ntau heev rua kuv.