developer:soap:methods:searchbatchescount

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap:methods:searchbatchescount [2009/07/24 00:14]
tem created
developer:soap:methods:searchbatchescount [2009/09/17 09:55]
charlie
Line 72: Line 72:
 </​code>​ </​code>​
  
 +==== Java ====
 +
 +This example uses the [[developer/​javalibrary|USAePay Java library]]. ​ For directions on how to install the library and create the token/​client objects, go to either the [[..:​howto:​javajaxrpc|Java JAX-RPC Howto]] or the [[..:​howto:​javajaxws|Java JAX-WS Howto]].
 +
 +<code java>
 +try {
 +
 +SearchParamArray searchParams = new SearchParamArray();​
 +searchParams.add(new SearchParam("​Sequence","​eq",​ "​123456"​));​
 +BigInteger start = new BigInteger("​0"​);​
 +BigInteger limit = new BigInteger("​9999999"​);​
 +
 +
 +BatchSearchResult BatchResult = new BatchSearchResult();​
 +BatchResult = client.searchBatchesCount(token,​ searchParams,​ true, start, limit, "​Sequence"​);​
 +
 +
 +  System.out.println(BatchResult.getBatchesMatched());​
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 +</​code>​
  
 ==== XML ==== ==== XML ====
developer/soap/methods/searchbatchescount.txt ยท Last modified: 2009/09/17 09:55 by charlie

Page Tools