Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
 
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
4
 
5
<head>
6
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT"/>
7
<meta http-equiv="Pragma" content="no-cache"/>
8
<meta http-equiv="Cache-Control" content="no-cache"/>
9
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10
<meta http-equiv="content-language" content="en"/>
11
<title>TSoapService Demo</title>
12
</head>
13
 
14
<body>
15
 
16
<h1>TSoapService Demo</h1>
17
<p>
18
This demo shows basic usage of TSoapService which provides integrated
19
SOAP service for PRADO applications.
20
</p>
21
<p>
22
The demo includes both a SOAP server and a client (this page).
23
The SOAP server supports two operations which are provided by <tt>SimpleService</tt> class:
24
</p>
25
<ul>
26
<li><tt>highlight()</tt>: takes a string and returns the highlighted version.</li>
27
<li><tt>add()</tt>: takes two numbers and returns the addition of them.</li>
28
</ul>
29
<p>
30
For more details about the server, see its
31
<a href="<%=$this->Request->AbsoluteApplicationUrl.'?soap=calculator.wsdl'%>">WSDL specification</a>.
32
</p>
33
 
34
<com:TForm>
35
<h2>SOAP Calculator</h2>
36
<com:TTextBox ID="Number1" Columns="3"/> +
37
<com:TTextBox ID="Number2" Columns="3"/> =
38
<com:TTextBox ID="AdditionResult" ReadOnly="true" Columns="3" />
39
<com:TButton Text="Compute" OnClick="computeButtonClicked"/>
40
 
41
<h2>Source Code Highlighter</h2>
42
<p>
43
Click on the button below to show the highlighted source code of
44
this page class:
45
</p>
46
<com:TButton Text="Highlight" OnClick="highlightButtonClicked"/>
47
<br/>
48
<div style="background:lightyellow">
49
<com:TLiteral ID="HighlightResult" />
50
</div>
51
 
52
</com:TForm>
53
</body>
54
</html>