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 301 through 302 of 302
Prev | First
  The time now is 5:30:26 PM ET.
Any comment problems? E-mail us
#301 By 4240821 (212.193.138.162) at 11/24/2024 2:42:15 AM
https://www.google.nu/amp/s/sluts.su/get/a35/a35gvphlprlbdflkxl.php
https://www.google.pk/amp/s/sexonly.su/get/a194/a194twucbbpimqrcmqz.php
https://www.google.mx/amp/s/sexonly.su/get/a168/a168hjguapxubyprwuo.php
https://www.google.pk/amp/s/sluts.su/get/a45/a45bbnczzogikchimf.php
https://www.google.ne/amp/s/sexonly.top/get/a100/a100zpjtjxgozjkhdyt.php
https://www.google.ng/amp/s/sluts.su/get/a26/a26dwokzeewkunhuhv.php
https://www.google.nl/amp/s/sluts.su/get/a111/a111tmphnohpihxthfw.php
https://www.google.mx/amp/s/sexonly.top/get/a174/a174ssdercqefinzlir.php
https://www.google.pk/amp/s/sexonly.su/get/a97/a97rxdzeyiulsytpku.php
https://www.google.nu/amp/s/lustful.su/get/a198/a198becivhrbbzzllpf.php

#302 By 4240821 (62.76.153.72) at 11/24/2024 10:21:12 AM
https://justpaste.me/BkFC3
https://justpaste.me/Ceke2
https://justpaste.me/CKcs3
https://justpaste.me/BnAV1
https://justpaste.me/Bruf1
https://justpaste.me/CQjD2
https://justpaste.me/CF6X1
https://justpaste.me/CHW22
https://justpaste.me/CSdQ1
https://justpaste.me/CFmw1

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

 

  *  
  *   *