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
Next revision Both sides next revision
developer:soap:methods:searchbatches [2009/07/23 23:21]
tem
developer:soap:methods:searchbatches [2009/09/17 09:49]
charlie
Line 36: Line 36:
 ===== Return Value ===== ===== Return Value =====
  
-|BatchSearchResult |Returns the result of the batch search based on the search parameters set.|+|[[..:​objects:​BatchSearchResult]] |Returns the result of the batch search based on the search parameters set.|
  
  
Line 80: Line 80:
 </​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"​));​
 +
 +BatchSearchResult BatchResult = new BatchSearchResult();​
 +BatchResult = client.searchBatches(token,​ searchParams,​ true, new BigInteger("​0"​),​ new BigInteger("​9999999"​),​ "​Sequence"​);​
 +
 +
 +  System.out.println(response.getStatus());​
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 +</​code>​
  
 ==== XML ==== ==== XML ====
developer/soap/methods/searchbatches.txt ยท Last modified: 2009/09/17 09:52 by charlie

Page Tools