1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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>
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.
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>
30
<input type="text" name="b" value="2" size="8" tabindex="3">=
31
<input type="submit" name="submit" tabindex="4">