File: readme

package info (click to toggle)
axis 1.4-25
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 51,864 kB
  • sloc: java: 129,119; xml: 10,573; jsp: 983; sh: 84; cs: 36; makefile: 26
file content (33 lines) | stat: -rw-r--r-- 1,297 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
29
30
31
32
33
To run the address book sample, you must do the following:
1.  Set up your CLASSPATH.
2.  Generate the Java bindings from the AddressBook.wsdl file.
3.  Compile the code.
4.  Start a server.
5.  Run the sample.

1.  Set up your CLASSPATH.
    The CLASSPATH must contain:  an XML parser (ie., Xerces), JUnit
    (www.junit.org), all the jars in the lib directory, and the directory
    containing the samples subdirectory.

2.  Generate the Java bindings from the AddressBook.wsdl file.
    a.  Change directory to the directory that contains the samples
        subdirectory.
    b.  Run the command: java org.apache.axis.wsdl.WSDL2Java -s -d Session
        -Nurn:AddressFetcher2=samples.addr samples\addr\AddressBook.wsdl

    This will generate all the bindings, both client-side and server-side,
    into the samples/addr subdirectory.

3.  Compile the code.
    a.  Now you can change directory to samples/addr
    b.  And compile the sample:  javac *.java

4.  Start a  server.
    To run the sample, you will first need to run a server.  To run a very
    simple server you could run, in a separate window:
        java org.apache.axis.transport.http.SimpleAxisServer -p 8080

5.  Run the sample.
    Finally, to run the client, run testit.sh or testit.cmd, depending on
    your platform.