File: DeploymentDescriptor.xml

package info (click to toggle)
xml-soap 2.2-6
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 2,492 kB
  • ctags: 1,934
  • sloc: java: 15,895; xml: 740; jsp: 580; cpp: 561; sh: 235; makefile: 127
file content (27 lines) | stat: -rw-r--r-- 688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0"?>

<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
             id="urn:xml-soap-demo-calculator">
  <isd:provider type="script"
                scope="Application" 
                methods="plus minus times divide">
    <isd:script language="javascript">
      function plus (x, y) {
        return x + y;
      }
      
      function minus (x, y) {
        return x - y;
      }
      
      function times (x, y) {
        return x * y;
      }
      
      function divide (x, y) {
        return x / y;
      }
    </isd:script>
  </isd:provider>
  <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>