File: OnewayImpl.java

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (28 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (10)
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
28
/**
 * AddressBookSOAPBindingImpl.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package test.wsdl.oneway;

import java.rmi.RemoteException;
import java.util.Hashtable;

public class OnewayImpl implements Oneway {
    private Hashtable ht = new Hashtable();

    public void addEntry(String name, Address address) throws RemoteException {
        ht.put(name, address);
    }

    public Address getAddressFromName(String name) throws RemoteException {
        return (Address) ht.get(name);
    }

    public void throwException() throws RemoteException {
        throw new RemoteException("OnewayImpl throws RemoteException");
    }

}