ArrayOfRemoteFilter remoteFilters = new ArrayOfRemoteFilter(); JAXBElement jaxString = CreateJAXBString(“Release”,“9879”); System.out.println(“jax string returns iss”+ jaxString.getValue()); RemoteFilter remoteFilter = new RemoteFilter(); remoteFilter.setPropertyName(CreateJAXBString(“Release”,“ReleaseId”)); remoteFilter.setStringValue(jaxString); // remoteFilter.StringValue =“测试用例1”; 。remoteFilters.getRemoteFilter()添加(remoteFilter); System.out.println(“remote filters”+ remoteFilters.getRemoteFilter()。get(0).getStringValue()。getValue()); //创建RemoteFilter ArrayOfRemoteTestCase remoteTestCase = soap.testCaseRetrieveByReleaseId(9879,remoteFilters,1,9999); // System.out.println(“从”+ remoteTestCase.getRemoteTestCase()。toString()中检索了一些值; for(int h = 0; h< remoteTestCase.getRemoteTestCase()。size(); ++ h){System.out.print(“test values”+ remoteTestCase.getRemoteTestCase()。get(h).getName() .getValue()); System.out.println(“test”+ remoteTestCase.getRemoteTestCase()。get(h).getDescription()。getValue()); System.out.println(“List size is”+ remoteTestCase.getRemoteTestCase()。size());