KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > marshall3 > Marshall3TestPort1SoapBindingImpl


1 /**
2  * Marshall3TestPort1SoapBindingImpl.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC3 Apr 29, 2005 (10:05:23 EDT) WSDL2Java emitter.
6  */

7
8 package test.wsdl.marshall3;
9
10 import java.rmi.RemoteException JavaDoc;
11 import test.wsdl.marshall3.types.QNameArrayTest;
12 import test.wsdl.marshall3.types.QNameArrayTestResponse;
13 import test.wsdl.marshall3.types.ShortArrayTest;
14 import test.wsdl.marshall3.types.ShortArrayTestResponse;
15 import test.wsdl.marshall3.types.StringArrayTest;
16 import test.wsdl.marshall3.types.StringArrayTestResponse;
17
18 public class Marshall3TestPort1SoapBindingImpl implements test.wsdl.marshall3.MarshallTest{
19     public ShortArrayTestResponse shortArrayTest(ShortArrayTest parameters) throws java.rmi.RemoteException JavaDoc {
20         return new ShortArrayTestResponse(parameters.getShortArray());
21     }
22
23     public StringArrayTestResponse stringArrayTest(StringArrayTest parameters) throws java.rmi.RemoteException JavaDoc {
24         return new StringArrayTestResponse(parameters.getStringArray());
25     }
26
27     public QNameArrayTestResponse qnameArrayTest(QNameArrayTest parameters) throws java.rmi.RemoteException JavaDoc {
28         if (parameters.getQnameArray().length != 3) {
29             throw new java.rmi.RemoteException JavaDoc("Array size mismatch");
30         }
31         return new QNameArrayTestResponse(parameters.getQnameArray());
32     }
33
34     public short[] echoShortListTypeTest(short[] fooShortListTypeRequest) throws java.rmi.RemoteException JavaDoc {
35         return fooShortListTypeRequest;
36     }
37
38 }
39
Popular Tags