본문 바로가기

IT/etc

soapUI를 가지고 Web Service 테스트 해보기

WSDL address : http://teamspace.xx.com/_vti_bin/sitedata.asmx?WSDL

change site URL  : http://teamspace.xx.com/sites/abc/_vti_bin/sitedata.asmx


traversing listitem would take a lot of time if a list contains lots of them.
you can directly fetch listitem when using soapUI.

How sweet it is.

To get listitem specifically , do this.

###xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:GetContent>
         <soap:objectType>ListItem</soap:objectType>
         <soap:objectId>{FA8FE352-86AB-xxxx-9B0C-7E1385C0DF3F}</soap:objectId>
         <soap:folderUrl></soap:folderUrl>
         <soap:itemId>486</soap:itemId>
         <soap:retrieveChildItems>true</soap:retrieveChildItems>
         <soap:securityOnly>false</soap:securityOnly>
         <soap:lastItemIdOnPage></soap:lastItemIdOnPage>
      </soap:GetContent>
   </soapenv:Body>
</soapenv:Envelope>