The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  Using XMLHTTP to Post Commands in SharePoint Team Services
Time: 05:05 EST/10:05 GMT | News Source: Microsoft | Posted By: Alex Harris

XMLHTTP offers the Web developer for SharePoint™ Team Services from Microsoft an efficient way to post commands to the server. It becomes particularly handy when you need to execute commands on the server without leaving the current, calling script block on the client. In the case of several remote procedure call (RPC) methods described in the SharePoint Team Services SDK—for example, ExportList, Display, or RenderView—the server's response comes in the form of XML data that is displayed in the browser; but XMLHTTP and the XML Document Object Model (DOM) offer the ability to work with this data within script. After commands have been posted to the server through the use of an XMLHTTP object, the XML Document Object Model can be used to work with the server's response.

XMLHTTP can be used with native SharePoint Team Services protocols, including the Administrative protocol, the URL protocol, SharePoint Team Services RPC protocol, and the Collaborative Application Markup Language (CAML) Batch Manager. It can also be used to implement Microsoft® Active Server Pages (ASP) in the context of lists. Whichever protocol you are using, you need to perform the following tasks:

  • Construct the string to post, in keeping with the protocol's syntax. If necessary, use the escape characters for the given script language.
  • Create an XMLHTTPRequest or a ServerXMLHTTPRequest object, as well as a DOMDocument object in order to work with the response.
  • Use the XMLHTTP open method to establish a connection with the server.
  • Use the send method to post the command string.
  • Assign the XMLHTTP response to the DOMDocument object for processing.

Note: The examples in this article assume that you have already installed the Microsoft XML Core Services (MSXML) 4.0, formerly called the Microsoft XML Parser, on the client. You can install the Core Services from MSDN Downloads.

Write Comment
Return to News

  Displaying 776 through 779 of 779
Prev | First
  The time now is 9:50:30 PM ET.
Any comment problems? E-mail us
#776 By 4240821 (82.115.4.100) at 1/4/2026 11:32:31 PM
https://www.pillowfort.social/posts/6919464
https://www.pillowfort.social/posts/6919373
https://www.pillowfort.social/posts/6919267
https://www.pillowfort.social/posts/6919183
https://www.pillowfort.social/posts/6919094
https://www.pillowfort.social/posts/6919042
https://www.pillowfort.social/posts/6918998
https://www.pillowfort.social/posts/6918912
https://www.pillowfort.social/posts/6918848
https://www.pillowfort.social/posts/6918788

#777 By 4240821 (82.115.4.100) at 1/5/2026 1:01:05 PM
https://www.pillowfort.social/posts/6464629
https://www.pillowfort.social/posts/6464545
https://www.pillowfort.social/posts/6464443
https://www.pillowfort.social/posts/6464311
https://www.pillowfort.social/posts/6464218
https://www.pillowfort.social/posts/6464123
https://www.pillowfort.social/posts/6463974
https://www.pillowfort.social/posts/6463815
https://www.pillowfort.social/posts/6463658
https://www.pillowfort.social/posts/6463180

#778 By 4240821 (82.115.4.100) at 1/6/2026 3:13:34 AM
https://www.pillowfort.social/posts/6454455
https://www.pillowfort.social/posts/6454170
https://www.pillowfort.social/posts/6453947
https://www.pillowfort.social/posts/6453709
https://www.pillowfort.social/posts/6453437
https://www.pillowfort.social/posts/6453353
https://www.pillowfort.social/posts/6452610
https://www.pillowfort.social/posts/6452388
https://www.pillowfort.social/posts/6452223
https://www.pillowfort.social/posts/6452130

#779 By 4240821 (82.115.4.100) at 1/7/2026 7:27:41 PM
https://www.pillowfort.social/posts/6515721
https://www.pillowfort.social/posts/6515599
https://www.pillowfort.social/posts/6515429
https://www.pillowfort.social/posts/6515313
https://www.pillowfort.social/posts/6515197
https://www.pillowfort.social/posts/6515130
https://www.pillowfort.social/posts/6515028
https://www.pillowfort.social/posts/6514906
https://www.pillowfort.social/posts/6514858
https://www.pillowfort.social/posts/6514726

Write Comment
Return to News
  Displaying 776 through 779 of 779
Prev | First
  The time now is 9:50:30 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *