21.01.2014 Views

SFMS Bank Application Interface Specifications Document ... - IDRBT

SFMS Bank Application Interface Specifications Document ... - IDRBT

SFMS Bank Application Interface Specifications Document ... - IDRBT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>SFMS</strong> <strong>Bank</strong> <strong>Application</strong> <strong>Interface</strong> specifications Version 3.0<br />

}<br />

}<br />

//response message after executeRemoteProcess method<br />

response = bankAPIClient.getResponse();<br />

System.out.println("response for msgsend = "+response);<br />

}catch(Exception e){}<br />

}<br />

else if(args[0].equalsIgnoreCase("receive"))<br />

{<br />

try{<br />

//argument specifying MESSAGE RECEIVE process.<br />

arguments[0] = "receive";<br />

//External<strong>Application</strong>Registered at Receive side<br />

arguments[1] = "APP";<br />

//password<br />

arguments[2] = "123456";<br />

//IFSC Code at Receiving side.<br />

arguments[3] = "CNRB0000002";<br />

//instantiating <strong>Bank</strong>APIClient object<br />

bankAPIClient = new <strong>Bank</strong>APIClient();<br />

//calling executeRemoteProcess method in <strong>Bank</strong>APIClient class.<br />

bankAPIClient.executeRemoteProcess(arguments);<br />

//received messages after executeRemoteProcess method<br />

response = bankAPIClient.getReceivedMessages();<br />

System.out.println("response for Receive = "+response);<br />

}catch(Exception e){}<br />

}<br />

else<br />

{<br />

System.out.println("*****************Usage*****************");<br />

System.out.println("incorrect usage:Refer Follow <strong>Bank</strong>API client<br />

Usage");<br />

}<br />

Confidential<br />

Uncontrolled when Printed<br />

Page 24 of 24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!