developer:soap:methods:gettransactioncustom

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
developer:soap:methods:gettransactioncustom [2009/07/03 14:38]
epouchak
developer:soap:methods:gettransactioncustom [2009/09/09 11:27] (current)
charlie
Line 149: Line 149:
  
 ?>  ?> 
 +</​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 {
 +  //Set RefNum to the Reference Number of transaction you 
 +  //want to retrieve fields from.
 +  BigInteger RefNum = new BigInteger();​
 +
 +  StringArray fields = new StringArray();​
 +
 +  fields.add(new String("​Details.Amount"​));​
 +
 +  FieldValueArray Response;
 +
 +  Response = client.getTransactionCustom(token,​ refnum, fields);
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 </​code>​ </​code>​
  
developer/soap/methods/gettransactioncustom.txt ยท Last modified: 2009/09/09 11:27 by charlie

Page Tools