Sharepoint WebService

2013. 1. 7. 11:50Server/Microsoft

.asmx란?

 - 웹메서드를 제공하기 위한 파일.

 - C#에서는 asmx를 참조함으로써 asmx 네임스페이스에 접근할 수 있다.

 - sharepoint에서는 아래 표와 같은 asmx를 서비스한다.


페이지 

설명 

 http://<server:5966>/_vti_adm/Admin.asmx

 사이트 생성이나 삭제등과 같은 관리 함수
- CreateSite
- DeleteSite
- GetLanguage
- RefreshConfigCache

 http://<server>/_vti_bin/Alerts.asmx

 경고와 관련된 작업을 하는 함수 
- DeleteAlerts
- GetAlerts

 http://<server>/_vti_bin/DspSts.asmx

 데이터와 스키마 검색과 관련된 함수 
- Query (sharepoint list와 site에 대한 query)

 http://<server>/_vti_bin/DWS.asmx

 문서 작업과 관련된 함수 
- CanCreateDwsUrl
- CreateDws
- CreateFolder
- FindDwsDoc
- GetDwsData
- GetDwsMetaData
- RemoveDwsUser
- RenameDws
- UpdateDwsData

 http://<server>/_vti_bin/Forms.asmx

 사용자 인터페이스 폼과 관련된 함수 
- GetForm
- GetFormCollection

 http://<server>/_vti_bin/Imaging.asmx

 사진 라이브러리와 관련된 함수 
- CheckSubwebAndList
- CreateNewFolder
- Delete
- Download
- Edit
- GetItemsByIds
- GetItemsXMLData
- GetListItems
- ListPictureLibrary
- Rename
- Upload

 http://<server>/_vti_bin/Lists.asmx

 리스트와 관련된 함수 
- AddAttachment
- AddDiscussionBoardItem
- AddList
- AddListFromFeature
- ApplyContentTypeToList
- DeleteAttachment
- DeleteContentType
- DeleteContentTypeXmlDocument
- DeleteList
- GetAttachmentCollection
- GetList
- GetListAndView
- GetListCollection
- GetListContentType
- GetListContentTypes
- GetListItemChanges
- GetListItemChangesSinceToken
- GetListItems
- GetVersionCollection
- UndoCheckout
- UpdateContentType
- UpdateContentTypesXmlDocument
- UpdateContentTypeXmlDocument
- UpdateList
- UpdateListItems

 http://<server>/_vti_bin/Meetings.asmx

 회의 작업과 관련된 함수
- AddMeeting
- AddMeetingFromICal
- CreateWorkspace
- DeleteWorkspacez
- GetMeetingInformation
- GetMeetingWorkspaces
- RemoveMeeting
- RestoreMeeting
- SetAttendeeResponse
- SetWorkspaceTitle
- UpdateMeeting
- UpdateMeetingFromICal

 http://<server>/_vti_bin/Permissions.asmx

 Sharepoint 보안과 관련된 함수 
- AddPermission
- AddPermissionCollection
- GetPermissionCollection
- RemovePermission
- RemovePermissionCollection
- UpdatePermission

 http://<server>/_vti_bin/SiteData.asmx

 Sharepoint 포탈 서버에서 사용되는 함수 
- EnumerateFolder
- GetAttachments
- GetChanges
- GetContent
- GetList
- GetListCollection
- GetListItems
- GetSite
- GetSiteAndWeb
- GetSiteUrl
- GetURLSegments
- GetWeb

 http://<server>/_vti_bin/Sites.asmx

 사이트 템플릿을 검색하기 위해 하나의 함수를 포함한다.
- ExportWeb
- GetSiteTemplates
- GetUpdatedFormDigest
- ImportWeb 

 http://<server>/_vti_bin/UserGroup.asmx

 사용자나 그룹과 관련된 작업 함수 
- AddGroup
- AddGroupToRole
- AddRole
- AddRoleDef
- AddUserCollectionToGroup
- AddUserCollectionToRole
- AddUserToGroup
- AddUserToRole
- GetAllUserCollectionFromWeb
- GetGroupCollection
- GetList
- GetListAndView
- GetListCollection
- GetGroupCollectionFromRole
- GetGroupCollectionFromSite
- GetGroupCollectionFromUser
- GetGroupCollectionFromWeb
- GetGroupInfo
- GetRoleCollection
- GetRoleCollectionFromGroup
- GetRoleCollectionFromUser
- GetRoleCollectionFromWeb
- GetRoleInfo
- GetRolesAndPermissionsForCurrentUser
- GetRolesAndPermissionsForSite
- GetUserCollection
- GetUserCollectionFromGroup
- GetUserCollectionFromRole
- GetUserCollectionFromSite
- GetUserCollectionFromWeb
- GetUserInfo
- GetUserLoginFromEmail
- RemoveGroup
- RemoveGroupFromRole
- RemoveRole
- RemoveUserCollectionFromGroup
- RemoveUserCollectionFromRole
- RemoveUserCollectionFromSite
- RemoveUserFromGroup
- RemoveUserFromRole
- RemoveUserFromSite
- RemoveUserFromWeb
- UpdataeGroupInfo
- UpdateRoleDefInfo
- UpdateRoleInfo
- UpdateUserInfo

 http://<server>/_vti_bin/versions.asmx

 file 버전과 관련된 작업 함수 
- DeleteAllVersions
- DeleteVersion
- GetVersions
- RestoreVersion

 http://<server>/_vti_bin/Views.asmx

 목록의 view와 관련된 함수 
- AddView
- DeleteView
- GetViewCollection
- GetViewHtml
- UpdateView
- UpdateViewHtml
- UpdateViewHtml2

 http://<server>/_vti_bin/WebPartPages.asmx 

 Web Part와 관련된 함수 
- AddWebPart
- AddWebPartToZone
- AssociateWorkflowMarkup
- ConvertWebPartFormat
- DeleteWebPart
- ExecuteProxyUpdates
- FetchLegalWorkflowActions
- GetAssemblyMetaData
- GetBindingResourceData
- GetCustomControlList
- GetDataFromDataSourceControl
- GetFormCapabilityFromDataSourceControl
- GetSafeAssemblyInfo
- GetWebPart
- GetWebPart2
- GetWebPartCrossPageCompatibility
- GetWebPartPage
- GetWebPartPageConnectionInfo
- GetWebPartPageDocument
- GetWebPartProperties
- GetWebPartProperties2
- RemoveWorkflowAssociation
- RenderWebPartForEdit
- SaveWebPart
- SaveWebPart2
- ValidateWorkflowMarkupAndCreateSupportObjects

 http://<server>/_vti_bin/Webs.asmx

 사이트와 하위 사이트와 관련된 작업 함수 
- CreateContentType
- CustomizeCss
- DeleteContentType
- GetActivatedFeatures
- GetAllSubWebCollection
- GetColumns
- GetContentType
- GetContentTypes
- GetCustomizedPageStatus
- GetListTemplates
- GetWeb
- GetWebCollection
- RemoveContentTypeXmlDocument
- RevertAllFileContentStreams
- RevertCss
- RevertFileContentStream
- UpdateColumns
- UpdateContentType
- UpdateContentTypeXmlDocument
- WebUrlFromPageUrl