KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > marshall2 > MarshallTestSoapBindingImpl


1 /**
2  * MarshallTestSoapBindingImpl.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC3 Feb 14, 2005 (08:56:33 EST) WSDL2Java emitter.
6  */

7 package test.wsdl.marshall2;
8
9 import test.wsdl.marshall2.types.BigDecimalArrayTestResponse;
10 import test.wsdl.marshall2.types.BigDecimalTestResponse;
11 import test.wsdl.marshall2.types.BigIntegerArrayTestResponse;
12 import test.wsdl.marshall2.types.BigIntegerTestResponse;
13 import test.wsdl.marshall2.types.BooleanArrayTestResponse;
14 import test.wsdl.marshall2.types.BooleanTestResponse;
15 import test.wsdl.marshall2.types.ByteArrayTestResponse;
16 import test.wsdl.marshall2.types.ByteTestResponse;
17 import test.wsdl.marshall2.types.CalendarArrayTestResponse;
18 import test.wsdl.marshall2.types.CalendarTestResponse;
19 import test.wsdl.marshall2.types.DoubleArrayTestResponse;
20 import test.wsdl.marshall2.types.DoubleTestResponse;
21 import test.wsdl.marshall2.types.FloatArrayTestResponse;
22 import test.wsdl.marshall2.types.FloatTestResponse;
23 import test.wsdl.marshall2.types.FooAnyURIType;
24 import test.wsdl.marshall2.types.FooAnyURITypeResponse;
25 import test.wsdl.marshall2.types.IntArrayTestResponse;
26 import test.wsdl.marshall2.types.IntTestResponse;
27 import test.wsdl.marshall2.types.JavaBeanArrayTestResponse;
28 import test.wsdl.marshall2.types.JavaBeanTestResponse;
29 import test.wsdl.marshall2.types.LongArrayTestResponse;
30 import test.wsdl.marshall2.types.LongTestResponse;
31 import test.wsdl.marshall2.types.QNameArrayTestResponse;
32 import test.wsdl.marshall2.types.QNameTestResponse;
33 import test.wsdl.marshall2.types.ShortArrayTestResponse;
34 import test.wsdl.marshall2.types.ShortTestResponse;
35 import test.wsdl.marshall2.types.StringArrayTestResponse;
36 import test.wsdl.marshall2.types.StringTestResponse;
37
38 import java.rmi.RemoteException JavaDoc;
39
40 public class MarshallTestSoapBindingImpl implements test.wsdl.marshall2.
41         MarshallTest {
42     public test.wsdl.marshall2.types.BigDecimalArrayTestResponse bigDecimalArrayTest(test.wsdl.marshall2.types.BigDecimalArrayTest parameters)
43             throws java.rmi.RemoteException JavaDoc {
44         if(parameters.getBigDecimalArray()==null) {
45             throw new RemoteException JavaDoc("BigDecimalArray is null");
46         }
47         return new BigDecimalArrayTestResponse(parameters.getBigDecimalArray());
48     }
49
50     public test.wsdl.marshall2.types.BigDecimalTestResponse bigDecimalTest(test.wsdl.marshall2.types.BigDecimalTest parameters)
51             throws java.rmi.RemoteException JavaDoc {
52         return new BigDecimalTestResponse(parameters.getBigDecimal());
53     }
54
55     public test.wsdl.marshall2.types.BigIntegerArrayTestResponse bigIntegerArrayTest(test.wsdl.marshall2.types.BigIntegerArrayTest parameters)
56             throws java.rmi.RemoteException JavaDoc {
57         if(parameters.getBigIntegerArray()==null) {
58             throw new RemoteException JavaDoc("BigIntegerArray is null");
59         }
60         return new BigIntegerArrayTestResponse(parameters.getBigIntegerArray());
61     }
62
63     public test.wsdl.marshall2.types.BigIntegerTestResponse bigIntegerTest(test.wsdl.marshall2.types.BigIntegerTest parameters)
64             throws java.rmi.RemoteException JavaDoc {
65         return new BigIntegerTestResponse(parameters.getBigInteger());
66     }
67
68     public test.wsdl.marshall2.types.BooleanArrayTestResponse booleanArrayTest(test.wsdl.marshall2.types.BooleanArrayTest parameters)
69             throws java.rmi.RemoteException JavaDoc {
70         return new BooleanArrayTestResponse(parameters.getBooleanArray());
71     }
72
73     public test.wsdl.marshall2.types.BooleanTestResponse booleanTest(test.wsdl.marshall2.types.BooleanTest parameters)
74             throws java.rmi.RemoteException JavaDoc {
75         return new BooleanTestResponse(parameters.isBooleanValue());
76     }
77
78     public test.wsdl.marshall2.types.ByteArrayTestResponse byteArrayTest(test.wsdl.marshall2.types.ByteArrayTest parameters)
79             throws java.rmi.RemoteException JavaDoc {
80         return new ByteArrayTestResponse(parameters.getByteArray());
81     }
82
83     public test.wsdl.marshall2.types.ByteTestResponse byteTest(test.wsdl.marshall2.types.ByteTest parameters)
84             throws java.rmi.RemoteException JavaDoc {
85         return new ByteTestResponse(parameters.getByteValue());
86     }
87
88     public test.wsdl.marshall2.types.DoubleArrayTestResponse doubleArrayTest(test.wsdl.marshall2.types.DoubleArrayTest parameters)
89             throws java.rmi.RemoteException JavaDoc {
90         return new DoubleArrayTestResponse(parameters.getDoubleArray());
91     }
92
93     public test.wsdl.marshall2.types.DoubleTestResponse doubleTest(test.wsdl.marshall2.types.DoubleTest parameters)
94             throws java.rmi.RemoteException JavaDoc {
95         return new DoubleTestResponse(parameters.getDoubleValue());
96     }
97
98     public test.wsdl.marshall2.types.FloatArrayTestResponse floatArrayTest(test.wsdl.marshall2.types.FloatArrayTest parameters)
99             throws java.rmi.RemoteException JavaDoc {
100         return new FloatArrayTestResponse(parameters.getFloatArray());
101     }
102
103     public test.wsdl.marshall2.types.FloatTestResponse floatTest(test.wsdl.marshall2.types.FloatTest parameters)
104             throws java.rmi.RemoteException JavaDoc {
105         return new FloatTestResponse(parameters.getFloatValue());
106     }
107
108     public test.wsdl.marshall2.types.IntArrayTestResponse intArrayTest(test.wsdl.marshall2.types.IntArrayTest parameters)
109             throws java.rmi.RemoteException JavaDoc {
110         return new IntArrayTestResponse(parameters.getIntArray());
111     }
112
113     public test.wsdl.marshall2.types.IntTestResponse intTest(test.wsdl.marshall2.types.IntTest parameters)
114             throws java.rmi.RemoteException JavaDoc {
115         return new IntTestResponse(parameters.getIntValue());
116     }
117
118     public test.wsdl.marshall2.types.LongArrayTestResponse longArrayTest(test.wsdl.marshall2.types.LongArrayTest parameters)
119             throws java.rmi.RemoteException JavaDoc {
120         return new LongArrayTestResponse(parameters.getLongArray());
121     }
122
123     public test.wsdl.marshall2.types.LongTestResponse longTest(test.wsdl.marshall2.types.LongTest parameters)
124             throws java.rmi.RemoteException JavaDoc {
125         return new LongTestResponse(parameters.getLongValue());
126     }
127
128     public test.wsdl.marshall2.types.ShortArrayTestResponse shortArrayTest(test.wsdl.marshall2.types.ShortArrayTest parameters)
129             throws java.rmi.RemoteException JavaDoc {
130         return new ShortArrayTestResponse(parameters.getShortArray());
131     }
132
133     public test.wsdl.marshall2.types.ShortTestResponse shortTest(test.wsdl.marshall2.types.ShortTest parameters)
134             throws java.rmi.RemoteException JavaDoc {
135         return new ShortTestResponse(parameters.getShortValue());
136     }
137
138     public test.wsdl.marshall2.types.StringArrayTestResponse stringArrayTest(test.wsdl.marshall2.types.StringArrayTest parameters)
139             throws java.rmi.RemoteException JavaDoc {
140         if(parameters.getStringArray()==null) {
141             throw new RemoteException JavaDoc("StringArray is null");
142         }
143         return new StringArrayTestResponse(parameters.getStringArray());
144     }
145
146     public test.wsdl.marshall2.types.StringTestResponse stringTest(test.wsdl.marshall2.types.StringTest parameters)
147             throws java.rmi.RemoteException JavaDoc {
148         return new StringTestResponse(parameters.getStringValue());
149     }
150
151     public test.wsdl.marshall2.types.QNameTestResponse qnameTest(test.wsdl.marshall2.types.QNameTest parameters)
152             throws java.rmi.RemoteException JavaDoc {
153         return new QNameTestResponse(parameters.getQname_1());
154     }
155
156     public test.wsdl.marshall2.types.QNameArrayTestResponse qnameArrayTest(test.wsdl.marshall2.types.QNameArrayTest parameters)
157             throws java.rmi.RemoteException JavaDoc {
158         if(parameters.getQnameArray_1()==null) {
159             throw new RemoteException JavaDoc("QnameArray_1 is null");
160         }
161         return new QNameArrayTestResponse(parameters.getQnameArray_1());
162     }
163
164     public test.wsdl.marshall2.types.CalendarArrayTestResponse calendarArrayTest(test.wsdl.marshall2.types.CalendarArrayTest parameters)
165             throws java.rmi.RemoteException JavaDoc {
166         if(parameters.getCalendarArray()==null) {
167             throw new RemoteException JavaDoc("CalendarArray is null");
168         }
169         return new CalendarArrayTestResponse(parameters.getCalendarArray());
170     }
171
172     public test.wsdl.marshall2.types.CalendarTestResponse calendarTest(test.wsdl.marshall2.types.CalendarTest parameters)
173             throws java.rmi.RemoteException JavaDoc {
174         return new CalendarTestResponse(parameters.getCalendar());
175     }
176
177     public test.wsdl.marshall2.types.JavaBeanArrayTestResponse javaBeanArrayTest(test.wsdl.marshall2.types.JavaBeanArrayTest parameters)
178             throws java.rmi.RemoteException JavaDoc {
179         return new JavaBeanArrayTestResponse(parameters.getJavaBeanArray());
180     }
181
182     public test.wsdl.marshall2.types.JavaBeanTestResponse javaBeanTest(test.wsdl.marshall2.types.JavaBeanTest parameters)
183             throws java.rmi.RemoteException JavaDoc {
184         return new JavaBeanTestResponse(parameters.getJavaBean());
185     }
186
187     public test.wsdl.marshall2.types.FooAnyURITypeResponse fooAnyURITest(test.wsdl.marshall2.types.FooAnyURIType parameters)
188     throws java.rmi.RemoteException JavaDoc {
189         return new FooAnyURITypeResponse(parameters.getFooAnyURIType());
190     }
191 }
192
Popular Tags