1 package test.wsdl.parameterOrder; 2 3 4 5 13 14 public class VerifyTestCase extends junit.framework.TestCase { 15 public VerifyTestCase(String name) { 16 super(name); 17 } 18 19 public void testParameterOrder() { 20 test.wsdl.parameterOrder.ParameterOrderTest binding; 21 try { 22 binding = new ParameterOrderServiceLocator().getParameterOrder(); 23 } catch (javax.xml.rpc.ServiceException jre) { 24 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 25 } 26 assertTrue("binding is null", binding != null); 27 try { 28 binding.oneIn(0); 29 } catch (java.rmi.RemoteException re) { 30 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 31 } 32 try { 33 binding.oneInout(new javax.xml.rpc.holders.IntHolder (0)); 34 } catch (java.rmi.RemoteException re) { 35 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 36 } 37 try { 38 binding.oneOut(new javax.xml.rpc.holders.IntHolder ()); 39 } catch (java.rmi.RemoteException re) { 40 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 41 } 42 try { 43 binding.fiveInNoOrder(0, 0, 0, 0, 0); 44 } catch (java.rmi.RemoteException re) { 45 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 46 } 47 try { 48 binding.fiveInoutNoOrder(new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0)); 49 } catch (java.rmi.RemoteException re) { 50 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 51 } 52 try { 53 binding.fiveOutNoOrder(new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder ()); 54 } catch (java.rmi.RemoteException re) { 55 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 56 } 57 try { 58 binding.fiveIn(0, 0, 0, 0, 0); 59 } catch (java.rmi.RemoteException re) { 60 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 61 } 62 try { 63 binding.fiveInout(new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0)); 64 } catch (java.rmi.RemoteException re) { 65 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 66 } 67 try { 68 binding.fiveOut(new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder ()); 69 } catch (java.rmi.RemoteException re) { 70 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 71 } 72 try { 73 int value = -3; 74 value = binding.someInoutPartialOrder1(new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0)); 75 } catch (java.rmi.RemoteException re) { 76 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 77 } 78 try { 79 binding.someInoutPartialOrder2(new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (0), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder ()); 80 } catch (java.rmi.RemoteException re) { 81 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 82 } 83 try { 84 binding.fourOutPartialOrder(new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder ()); 85 } catch (java.rmi.RemoteException re) { 86 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 87 } 88 try { 89 int value = -3; 90 value = binding.oneReturn(new javax.xml.rpc.holders.IntHolder (), new javax.xml.rpc.holders.IntHolder ()); 91 } catch (java.rmi.RemoteException re) { 92 throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re ); 93 } 94 } 95 } 96 97 | Popular Tags |