<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3AWeb_services</id>
	<title>Development:Web services - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3AWeb_services"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Web_services&amp;action=history"/>
	<updated>2026-05-06T16:37:23Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Web_services&amp;diff=12140&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Web_services&amp;diff=12140&amp;oldid=prev"/>
		<updated>2024-10-21T08:53:26Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 08:53, 21 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Web_services&amp;diff=12139&amp;oldid=prev</id>
		<title>1&gt;Jmouneyrac: /* See also */</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Web_services&amp;diff=12139&amp;oldid=prev"/>
		<updated>2010-02-04T09:50:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Moodle_2.0}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
This page described the Web Services module implemented for Moodle 2.0&amp;lt;br&amp;gt;&lt;br /&gt;
The official discussion [http://moodle.org/mod/forum/view.php?id=6971| forum is here]&amp;lt;br&amp;gt;&lt;br /&gt;
The tracker issues are here: MDL-12886 and MDL-17135&amp;lt;br&amp;gt;&lt;br /&gt;
This module is been implemented by Moodle HQ and [http://blogs.dfwikilabs.org/moodle_ws/ DFWS Team].&lt;br /&gt;
&lt;br /&gt;
The objective is to support multiple web service protocols (REST, SOAP, XML-RPC and AMF). Adding support for a new protocol should be relatively easy.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
This following example would work but it will not be the unique way to access web services. Please have a look to the [[Development:External services security]] page for more details.&lt;br /&gt;
#The client sends a username and password to the web service protocol server script.&lt;br /&gt;
#The protocol server returns a session token for that user account (how this is sent depends on the protocol).&lt;br /&gt;
#The client calls a particular web service function including the session token.&lt;br /&gt;
#The protocol server uses the token to check that the web service session is still active.&lt;br /&gt;
#The protocol server call the matching external function, located in a externallib.php file inside the relevant module.&lt;br /&gt;
#The external function checks that the current user has_capability to do this operation.&lt;br /&gt;
#The external function calls the matching Moodle core function (in lib.php usually).&lt;br /&gt;
#The core function can return a result to the external function. &lt;br /&gt;
#The external function will return a result to the protocol server.&lt;br /&gt;
#The protocol server returns the result to the client.&lt;br /&gt;
&lt;br /&gt;
==Web description format==&lt;br /&gt;
&lt;br /&gt;
All functions that can be called via web services can be declared in a db/service.php file and can be defined in an externallib.php file somewhere. The description of the functions that can be called, and what parameters they require, are explained in the [https://docs.moodle.org/en/Development:Web_services_description External Service description document].&lt;br /&gt;
&lt;br /&gt;
==Web services technical documentation==&lt;br /&gt;
In order to facilitate a Moodle web service client implementation, every Moodle sites will provide a page listing all function descriptions. This page also gives some useful advice for any supported protocol. To call this page: &amp;#039;&amp;#039;your_moodle/webservice/wsdoc.php?protocol=soap&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Authentication==&lt;br /&gt;
Please have a look to the [[Development:External services security]] page&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Development:External services security]]&lt;br /&gt;
* [[Development:External services description]]&lt;br /&gt;
* [[Development:Creating_a_web_service_and_a_web_service_function]]&lt;br /&gt;
* [[Development:Creating a web service client]]&lt;br /&gt;
* [[Web_Services]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Web Services]]&lt;/div&gt;</summary>
		<author><name>1&gt;Jmouneyrac</name></author>
	</entry>
</feed>