developer:soap:methods:searchbatches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap:methods:searchbatches [2009/09/16 14:33]
charlie
developer:soap:methods:searchbatches [2009/09/17 09:52] (current)
charlie
Line 88: Line 88:
  
 SearchParamArray searchParams = new SearchParamArray();​ SearchParamArray searchParams = new SearchParamArray();​
-searchParams.add(new SearchParam("​Sequence","​eq", ​rs.getString("batchnum")));+searchParams.add(new SearchParam("​Sequence","​eq",​ "123456"))
 +BigInteger start = new BigInteger("​0"​);​ 
 +BigInteger limit = new BigInteger("​9999999"​); 
  
 BatchSearchResult BatchResult = new BatchSearchResult();​ BatchSearchResult BatchResult = new BatchSearchResult();​
-BatchResult = client.searchBatches(token,​ searchParams,​ true, new BigInteger("​0"​)new BigInteger("​9999999"​), "​Sequence"​);​+BatchResult = client.searchBatches(token,​ searchParams,​ true, startlimit, "​Sequence"​);​
  
  
-  System.out.println(response.getStatus());+  System.out.println(BatchResult.getBatchesMatched());
 } catch (Exception e) { } catch (Exception e) {
     System.out.println("​Soap Exception: " + e.getMessage());​     System.out.println("​Soap Exception: " + e.getMessage());​
developer/soap/methods/searchbatches.1253136816.txt.gz · Last modified: 2009/09/16 14:33 by charlie

Page Tools