~vcs-imports/simias/trunk

« back to all changes in this revision

Viewing changes to simias/tools/gsoap/gsoap-linux-2.7/samples/webserver/calcform2.html

  • Committer: kalidasbala
  • Date: 2007-08-25 12:48:51 UTC
  • Revision ID: vcs-imports@canonical.com-20070825124851-vlfvzun3732ld196
Latest gsoap code update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
 
 
3
<html>
 
4
 
 
5
        <head>
 
6
                <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
 
7
                <meta name="generator" content="Adobe GoLive 6">
 
8
                <title>Simple Calculator Web Service Using HTTP POST multipart/form-data</title>
 
9
        </head>
 
10
 
 
11
        <body bgcolor="#ffffff">
 
12
                <form action="form" method="post" name="Calc" enctype="multipart/form-data">
 
13
                <!-- The first <input> form element must be a hidden type with
 
14
                     the SOAP/XML request message as a value attribute that
 
15
                     triggers the server's operation (f:form2 in this example).
 
16
                     The other form values are passed as MIME attachments to
 
17
                     the operation. The operation returns a SOAP/XML response
 
18
                     message, unless its defined as a asynchronous one-way
 
19
                     message. In that case, code can be added to return a
 
20
                     custom (e.g. HTML) response.
 
21
                -->
 
22
                        <input type="hidden" name="SOAP" value="<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'><s:Body><f:form2 xmlns:f='urn:form'/></s:Body></s:Envelope>">
 
23
                        <input type="text" name="a" value="1" size="8" tabindex="1">
 
24
                        <select name="o" size="1" tabindex="4">
 
25
                                <option value="a">+</option>
 
26
                                <option value="s">-</option>
 
27
                                <option value="m">*</option>
 
28
                                <option value="d">/</option>
 
29
                        </select>
 
30
                        <input type="text" name="b" value="2" size="8" tabindex="3">=
 
31
                        <input type="submit" name="submit" tabindex="4">
 
32
                </form>
 
33
        </body>
 
34
 
 
35
</html>