developer:soap:methods:gettransactionstatus

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:gettransactionstatus [2009/07/02 12:36]
epouchak
developer:soap:methods:gettransactionstatus [2009/09/09 13:10] (current)
charlie
Line 42: Line 42:
  
   $refnum='​1005312'; ​   $refnum='​1005312'; ​
-  print_r($tran->​getTransactionStatus($token,​$refnum)); ​+  print_r($client->​getTransactionStatus($token,​$refnum)); ​
  
   }    } 
Line 58: Line 58:
  
 ?>  ?> 
 +</​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.
 +  BigInteger refnum = new BigInteger();​
 +
 +  TransactionResponse response = new TransactionResponse();​
 +
 +  response = client.getTransactionStatus(token,​ refnum);
 +
 +  System.out.println(response.getStatus());​
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 </​code>​ </​code>​
  
developer/soap/methods/gettransactionstatus.txt ยท Last modified: 2009/09/09 13:10 by charlie

Page Tools