Customer Login
Bookstore
|
Parasoft
Bookstore Web service with a database backend. Includes a total of 9
book items. Endpoint address: http://parabank.parasoft.com:8080/parabank/services/store-01 WSDL : {http://store.parabank.parasoft.com/}Bookstore Target namespace: http://store.parabank.parasoft.com/ |
Bookstore (Version 2.0)
|
Parasoft
Bookstore Web service with a database backend. Includes a total of 9
book items. Endpoint address: http://parabank.parasoft.com:8080/parabank/services/store-01V2 WSDL : {http://store.parabank.parasoft.com/}Bookstore Target namespace: http://store.parabank.parasoft.com/ |
Bookstore (WS-Security Username Token) |
Parasoft
Bookstore Web service secured using WS-Security Username Token. Clients need to authenticate themselves using Username Token. username:soatest password:soatest Endpoint address: http://parabank.parasoft.com:8080/parabank/services/store-wss-01 WSDL : {http://store.parabank.parasoft.com/}Bookstore Target namespace: http://store.parabank.parasoft.com/ |
Bookstore (WS-Security Signature) |
Parasoft
Bookstore Web service secured using WS-Security Signature. Clients need to sign the SOAP Body using the key store soatest.pfx key store password: security certificate alias: soatest private key alias: soatest algorithm: RSA Responses have the SOAP Body signed using the same certificate. Endpoint address: http://parabank.parasoft.com:8080/parabank/services/store-wss-02 WSDL : {http://store.parabank.parasoft.com/}Bookstore Target namespace: http://store.parabank.parasoft.com/ |
Bookstore (WS-Security Encryption) |
Parasoft
Bookstore Web service secured using WS-Security Encryption. Clients need to encrypt the SOAP Body using the key store soatest.pfx key store password: security public key alias: soatest Responses have the SOAP Body encrypted using the same key. Endpoint address: http://parabank.parasoft.com:8080/parabank/services/store-wss-03 WSDL : {http://store.parabank.parasoft.com/}Bookstore Target namespace: http://store.parabank.parasoft.com/ |
Bookstore (WS-Security Signature and Encryption) |
Parasoft
Bookstore Web service secured using WS-Security Signature and
Encryption. Clients need to sign, then encrypt the SOAP Body using the key store soatest.pfx key store password: security key alias: soatest Responses have the SOAP Body signed, then encrypted using the same key Endpoint address: http://parabank.parasoft.com:8080/parabank/services/store-wss-04 WSDL : {http://store.parabank.parasoft.com/}Bookstore Target namespace: http://store.parabank.parasoft.com/ |
Bookstore services:
Method |
Parameters |
Description |
||||
getItemById | int | Returns
the Book object with the given item id. Valid id values are 1- 9, or if you add a
new entry using the addNewItemToInventory
method, you can
retrieve a Book using the new id. |
||||
getItemByTitle | string | Returns
a list of Book objects that match your title search query. The Book's
price value will increase by $1.00
every 5 invocations. Example keywords: linux, java, C++, program. Leave it blank to get ALL the books in the database. |
||||
addItemToCart | int,
int, int |
Adds
a specified amount of Books to a cart. If no cartId is given or if the
cartId is equal to 0, a unique Id will be genearted for the user. All carts that are inactive for 20 minutes will be removed. |
||||
getItemsInCart | int |
Returns a list of items that
exist in the specified cart. |
||||
updateItemInCart | int,
int, int |
Update
an existing order in a cart. Cannot update an order where quantity
supplied is greater than the quantity in stock. Possible to update na
order to have zero quantity. |
||||
submitOrder | int |
Submits the items in a cart. This removes all the existing items in the cart and deletes the cartId. | ||||
addNewItemToInventory | Book | Add new book entries into the database. All new entries that are not accessed within 20 minutes will be removed from the database. |
Available ParaBank SOAP services:
LoanProcessorService
|
Endpoint
address: http://parabank.parasoft.com:8080/parabank/services/LoanProcessor WSDL : {http://service.parabank.parasoft.com/}LoanProcessorServiceImplService Target namespace: http://service.parabank.parasoft.com/ |
ParaBankService
|
Endpoint
address: http://parabank.parasoft.com:8080/parabank/services/ParaBank WSDL : {http://service.parabank.parasoft.com/}ParaBank Target namespace: http://service.parabank.parasoft.com/ |
ParaBank services:
Method |
Parameters |
Description |
||||
getAccount | int | Returns
account information for a given account number. |
||||
buyPosition | int, int, string, string, int, double | Buy a position. | ||||
deposit | int,
double |
Deposit funds into the given account. | ||||
startupJmsListener | Enable JMS message listener. |
|||||
shutdownJmsListener | Disable
JMS message listener. |
|||||
sellPosition | int, int, int,
int, double |
Sell a position. |
||||
login | string,
string |
Return
the customer id for the given username and password. |
||||
getCustomer | int |
Return customer information for
the given customer number. |
||||
getAccounts | int |
Return
a list of accounts for a given customer. |
||||
setParameter |
string, string |
Sets the value of a given
configuration parameter. |
||||
getPositionHistory | int,
Date, Date |
Return
position history for a given position id and date range. |
||||
requestLoan |
int, double,
double, int |
Request a loan. |
||||
cleanDB | Reset
database contents to a minimal state. |
|||||
withdraw |
int, double |
Withdraw funds out of the given
account. |
||||
getPosition | int |
Return
a position for a given position number. |
||||
initializeDB |
Reset database contents to a
populated state |
|||||
getTransaction | int |
Return
transaction information for a given transaction id. |
||||
getPositions |
int |
Return a list of positions for
a given customer. |
||||
getTransactions | int |
Return
a list of transactions for a given account. |
||||
transfer |
int, int,
double |
Transfer funds between two
accounts. |
||||
createAccount |
int, int, int |
Create a new account. |
||||
getTransactionsOnDate |
int, string |
Retrieve an account's transactions for a particular date. |
||||
getTransactionsByToFromDate |
int, string, string |
Retrieve an account's transactions between a range of dates. |
||||
getTransactionsByAmount |
int, double |
Retrieve an account's transactions matching the given monetary amount. |
||||
updateCustomer |
int, string, string, string, string, string, string, string,
string, string, string |
Update a customer's information. |
Available RESTful services:
Endpoint address:
http://parabank.parasoft.com:8080/parabank/services/bank WADL : http://parabank.parasoft.com:8080/parabank/services/bank?_wadl&type=xml OpenAPI : http://parabank.parasoft.com:8080/parabank/api-docs/index.html |