File: AnyServiceServiceTestCase.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 (32 lines) | stat: -rw-r--r-- 1,005 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
/**
 * AnyServiceServiceTestCase.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package test.wsdl.anytype;

public class AnyServiceServiceTestCase extends junit.framework.TestCase {
    public AnyServiceServiceTestCase(java.lang.String name) {
        super(name);
    }
    public void test1AnyServiceRun() throws Exception {
        test.wsdl.anytype.AnyService binding;
        try {
            binding = new test.wsdl.anytype.AnyServiceServiceLocator().getAnyService();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            if(jre.getLinkedCause()!=null)
                jre.getLinkedCause().printStackTrace();
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        // Test operation
        java.lang.Object value = null;
        value = binding.run();
        System.out.println("Got:" + value);
    }

}