| 1 |
/** |
| 2 |
* SimpleDocLitBindingImpl.java |
| 3 |
* |
| 4 |
* This file was auto-generated from WSDL |
| 5 |
* by the Apache Axis WSDL2Java emitter. |
| 6 |
*/ |
| 7 |
|
| 8 |
package test.wsdl.interop4.groupH.simpleDocLit; |
| 9 |
|
| 10 |
public class SimpleDocLitBindingImpl implements test.wsdl.interop4.groupH.simpleDocLit.SimpleDocLitPortType{ |
| 11 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoEmptyFaultResponse echoEmptyFault(test.wsdl.interop4.groupH.simpleDocLit.EchoEmptyFaultRequest param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.EmptyPart { |
| 12 |
throw new EmptyPart(); |
| 13 |
} |
| 14 |
|
| 15 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoStringFaultResponse echoStringFault(String param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.StringFault { |
| 16 |
throw new StringFault(param); |
| 17 |
} |
| 18 |
|
| 19 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoIntArrayFaultResponse echoIntArrayFault(test.wsdl.interop4.groupH.simpleDocLit.ArrayOfInt param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.ArrayOfInt { |
| 20 |
throw param; |
| 21 |
} |
| 22 |
|
| 23 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults1Response echoMultipleFaults1(test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults1Request param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.ArrayOfFloat, test.wsdl.interop4.groupH.simpleDocLit.StringFault, test.wsdl.interop4.groupH.simpleDocLit.EmptyPart { |
| 24 |
switch (param.getWhichFault()) { |
| 25 |
case 2: |
| 26 |
throw new StringFault(param.getParam1()); |
| 27 |
case 3: |
| 28 |
throw new ArrayOfFloat(param.getParam2().getValue()); |
| 29 |
default: |
| 30 |
throw new EmptyPart(); |
| 31 |
} |
| 32 |
} |
| 33 |
|
| 34 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults2Response echoMultipleFaults2(test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults2Request param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.ArrayOfString, test.wsdl.interop4.groupH.simpleDocLit.FloatFault, test.wsdl.interop4.groupH.simpleDocLit.StringFault { |
| 35 |
switch (param.getWhichFault()) { |
| 36 |
case 2: |
| 37 |
throw new StringFault(param.getParam1()); |
| 38 |
case 3: |
| 39 |
throw new ArrayOfString(param.getParam3().getValue()); |
| 40 |
default: |
| 41 |
throw new FloatFault(param.getParam2()); |
| 42 |
} |
| 43 |
} |
| 44 |
|
| 45 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults3Response echoMultipleFaults3(test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults3Request param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.String2Fault, test.wsdl.interop4.groupH.simpleDocLit.StringFault { |
| 46 |
switch (param.getWhichFault()) { |
| 47 |
case 2: |
| 48 |
throw new String2Fault(param.getParam2()); |
| 49 |
default: |
| 50 |
throw new StringFault(param.getParam1()); |
| 51 |
} |
| 52 |
} |
| 53 |
|
| 54 |
public test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults4Response echoMultipleFaults4(test.wsdl.interop4.groupH.simpleDocLit.EchoMultipleFaults4Request param) throws java.rmi.RemoteException, test.wsdl.interop4.groupH.simpleDocLit.EnumFault, test.wsdl.interop4.groupH.simpleDocLit.IntFault { |
| 55 |
switch (param.getWhichFault()) { |
| 56 |
case 2: |
| 57 |
throw new EnumFault(param.getParam2()); |
| 58 |
default: |
| 59 |
throw new IntFault(param.getParam1()); |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
} |