117118119120121122123
return new LongTestResponse(parameters.getLongValue()); } public test.wsdl.marshall2.types.ShortArrayTestResponse shortArrayTest(test.wsdl.marshall2.types.ShortArrayTest parameters) throws java.rmi.RemoteException { return new ShortArrayTestResponse(parameters.getShortArray()); }
125126127128129130131
353637383940414243
// Time out after a minute binding.setTimeout(60000); // Test operation ShortArrayTestResponse value = null; value = binding.shortArrayTest(new ShortArrayTest(new short[]{1,2,3})); assertEquals(3,value.getShortArray().length); }
15161718192021
import test.wsdl.marshall3.types.StringArrayTest; import test.wsdl.marshall3.types.StringArrayTestResponse; public class Marshall3TestPort1SoapBindingImpl implements test.wsdl.marshall3.MarshallTest{ public ShortArrayTestResponse shortArrayTest(ShortArrayTest parameters) throws java.rmi.RemoteException { return new ShortArrayTestResponse(parameters.getShortArray()); }