| 1 |
/** |
| 2 |
* WrappedInOutSoapImpl.java |
| 3 |
* |
| 4 |
* Tests .NET WSDL and functional signatures generated by WSDL2Java |
| 5 |
*/ |
| 6 |
|
| 7 |
package test.wsdl.wrapped_inout; |
| 8 |
|
| 9 |
public class WrappedInOutSoapImpl implements test.wsdl.wrapped_inout.WrappedInOutInterface{ |
| 10 |
public java.lang.String echoString(java.lang.String inarg) throws java.rmi.RemoteException { |
| 11 |
return inarg; |
| 12 |
} |
| 13 |
|
| 14 |
public java.lang.String echoStringIO(java.lang.String ioarg) throws java.rmi.RemoteException { |
| 15 |
return ioarg; |
| 16 |
} |
| 17 |
|
| 18 |
public java.lang.String echoStringIOret(javax.xml.rpc.holders.StringHolder ioarg) throws java.rmi.RemoteException { |
| 19 |
if (!ioarg.value.equals("in1")) { |
| 20 |
throw new java.rmi.RemoteException("Input argument didn't match expected 'in1', got: " + ioarg.value); |
| 21 |
} |
| 22 |
ioarg.value = "out1"; |
| 23 |
return "return"; |
| 24 |
} |
| 25 |
|
| 26 |
public void echoStringInIO(java.lang.String inarg, javax.xml.rpc.holders.StringHolder ioarg) throws java.rmi.RemoteException { |
| 27 |
ioarg.value = inarg; |
| 28 |
} |
| 29 |
|
| 30 |
public java.lang.String echoStringBig(java.lang.String inarg, javax.xml.rpc.holders.StringHolder ioarg1, javax.xml.rpc.holders.StringHolder ioarg2) throws java.rmi.RemoteException { |
| 31 |
ioarg1.value = "out1"; |
| 32 |
ioarg2.value = "out2"; |
| 33 |
return inarg; |
| 34 |
} |
| 35 |
|
| 36 |
public void helloInOut(javax.xml.rpc.holders.StringHolder inout1, javax.xml.rpc.holders.StringHolder inout2, javax.xml.rpc.holders.StringHolder inout3, javax.xml.rpc.holders.StringHolder inout4, java.lang.String inonly) throws java.rmi.RemoteException { |
| 37 |
inout1.value = "out1"; |
| 38 |
inout2.value = "out2"; |
| 39 |
inout3.value = "out3"; |
| 40 |
inout4.value = "out4"; |
| 41 |
if (!inonly.equals("onlyInput")) { |
| 42 |
throw new java.rmi.RemoteException("Input argument didn't match expected 'onlyInput', got: " + inonly); |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
public test.wsdl.wrapped_inout.Phone echoPhone(test.wsdl.wrapped_inout.Phone input) throws java.rmi.RemoteException { |
| 47 |
return input; |
| 48 |
} |
| 49 |
|
| 50 |
} |