| 1 |
/** |
| 2 |
* ComplexDocLitBindingImpl.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.complexDocLit; |
| 9 |
|
| 10 |
public class ComplexDocLitBindingImpl implements ComplexDocLitPortType{ |
| 11 |
public EchoSOAPStructFaultResponse echoSOAPStructFault(SOAPStruct param) throws java.rmi.RemoteException, SOAPStructFault { |
| 12 |
throw new SOAPStructFault(param); |
| 13 |
} |
| 14 |
|
| 15 |
public EchoBaseStructFaultResponse echoBaseStructFault(BaseStruct param) throws java.rmi.RemoteException, BaseStruct { |
| 16 |
throw param; |
| 17 |
} |
| 18 |
|
| 19 |
public EchoExtendedStructFaultResponse echoExtendedStructFault(ExtendedStruct param) throws java.rmi.RemoteException, ExtendedStruct { |
| 20 |
throw param; |
| 21 |
} |
| 22 |
|
| 23 |
public EchoMultipleFaults1Response echoMultipleFaults1(EchoMultipleFaults1Request param) throws java.rmi.RemoteException, BaseStruct, SOAPStructFault { |
| 24 |
if (param.getWhichFault() == 2) { |
| 25 |
throw param.getParam2(); |
| 26 |
} |
| 27 |
throw new SOAPStructFault(param.getParam1()); |
| 28 |
} |
| 29 |
|
| 30 |
public EchoMultipleFaults2Response echoMultipleFaults2(EchoMultipleFaults2Request param) throws java.rmi.RemoteException, MoreExtendedStruct, ExtendedStruct, BaseStruct { |
| 31 |
if (param.getWhichFault() == 2) { |
| 32 |
throw param.getParam2(); |
| 33 |
} else if (param.getWhichFault() == 3) { |
| 34 |
throw param.getParam3(); |
| 35 |
} |
| 36 |
throw param.getParam1(); |
| 37 |
} |
| 38 |
|
| 39 |
} |