KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > soap12 > assertion > Soap12TestRpcBindingImpl


1 /**
2  * Soap12TestRpcBindingImpl.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis WSDL2Java emitter.
6  */

7
8 package test.wsdl.soap12.assertion;
9
10 public class Soap12TestRpcBindingImpl implements test.wsdl.soap12.assertion.Soap12TestPortTypeRpc{
11     public void returnVoid() throws java.rmi.RemoteException JavaDoc {
12     }
13
14     public test.wsdl.soap12.assertion.xsd.SOAPStruct echoStruct(test.wsdl.soap12.assertion.xsd.SOAPStruct inputStruct) throws java.rmi.RemoteException JavaDoc {
15         return inputStruct;
16     }
17
18     public test.wsdl.soap12.assertion.xsd.SOAPStruct[] echoStructArray(test.wsdl.soap12.assertion.xsd.SOAPStruct[] inputStructArray) throws java.rmi.RemoteException JavaDoc {
19         return inputStructArray;
20     }
21
22     public void echoStructAsSimpleTypes(test.wsdl.soap12.assertion.xsd.SOAPStruct inputStruct, javax.xml.rpc.holders.StringHolder JavaDoc outputString, javax.xml.rpc.holders.IntHolder JavaDoc outputInteger, javax.xml.rpc.holders.FloatHolder JavaDoc outputFloat) throws java.rmi.RemoteException JavaDoc {
23         outputString.value = inputStruct.getVarString();
24         outputInteger.value = inputStruct.getVarInt();
25         outputFloat.value = inputStruct.getVarFloat();
26     }
27
28     public test.wsdl.soap12.assertion.xsd.SOAPStruct echoSimpleTypesAsStruct(java.lang.String JavaDoc inputString, int inputInteger, float inputFloat) throws java.rmi.RemoteException JavaDoc {
29         test.wsdl.soap12.assertion.xsd.SOAPStruct ret = new test.wsdl.soap12.assertion.xsd.SOAPStruct();
30         ret.setVarString(inputString);
31         ret.setVarInt(inputInteger);
32         ret.setVarFloat(inputFloat);
33         return ret;
34     }
35
36     public test.wsdl.soap12.assertion.xsd.SOAPStructStruct echoNestedStruct(test.wsdl.soap12.assertion.xsd.SOAPStructStruct inputStruct) throws java.rmi.RemoteException JavaDoc {
37         return inputStruct;
38     }
39
40     public test.wsdl.soap12.assertion.xsd.SOAPArrayStruct echoNestedArray(test.wsdl.soap12.assertion.xsd.SOAPArrayStruct inputStruct) throws java.rmi.RemoteException JavaDoc {
41         return inputStruct;
42     }
43
44     public float[] echoFloatArray(float[] inputFloatArray) throws java.rmi.RemoteException JavaDoc {
45         return inputFloatArray;
46     }
47
48     public java.lang.String JavaDoc[] echoStringArray(java.lang.String JavaDoc[] inputStringArray) throws java.rmi.RemoteException JavaDoc {
49         return inputStringArray;
50     }
51
52     public int[] echoIntegerArray(int[] inputIntegerArray) throws java.rmi.RemoteException JavaDoc {
53         return inputIntegerArray;
54     }
55
56     public byte[] echoBase64(byte[] inputBase64) throws java.rmi.RemoteException JavaDoc {
57         return inputBase64;
58     }
59
60     public boolean echoBoolean(boolean inputBoolean) throws java.rmi.RemoteException JavaDoc {
61         return inputBoolean;
62     }
63
64     public java.util.Calendar JavaDoc echoDate(java.util.Calendar JavaDoc inputDate) throws java.rmi.RemoteException JavaDoc {
65         return inputDate;
66     }
67
68     public java.math.BigDecimal JavaDoc echoDecimal(java.math.BigDecimal JavaDoc inputDecimal) throws java.rmi.RemoteException JavaDoc {
69         return inputDecimal;
70     }
71
72     public float echoFloat(float inputFloat) throws java.rmi.RemoteException JavaDoc {
73         return inputFloat;
74     }
75
76     public java.lang.String JavaDoc echoString(java.lang.String JavaDoc inputString) throws java.rmi.RemoteException JavaDoc {
77         return inputString;
78     }
79
80     public int countItems(java.lang.String JavaDoc[] inputStringArray) throws java.rmi.RemoteException JavaDoc {
81         return inputStringArray.length;
82     }
83
84     public boolean isNil(java.lang.String JavaDoc inputString) throws java.rmi.RemoteException JavaDoc {
85         return (inputString == null || inputString.length() == 0);
86     }
87 }
88
Popular Tags