Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 Running the BookQueryBE Example : Setting Up the Back-End BookQueryBE REST Service

Setting Up the Back-End BookQueryBE REST Service
Starting the BookQueryBE Service
You start the BookQueryBE service from the asg-engine command prompt.
To start the BookQueryBE service, complete these steps:
1.
Go to ASG_HOME/bin.
2.
asg-engine - u default -c {filepath to BookQueryCDD.cdd file} {path to the BookQuery.ear file}
where the filepath to the BookQueryCDD.cdd file is $TIBCO_HOME/asg/2.1/examples/BookQueryBE/BookQuery
and the path to the BookQuery.ear file is $TIBCO_HOME/asg/2.1/examples/BookQueryBE
This starts the BookQueryBE service on port 7909.
The Localhost URLs for the services for operations are:
POST: http:localhost:7909/Books/BookOperations
Body Example: {“Title”: “ASG”, “Author”: “Neel”, “ISBN”: “123-6578-29329”, “Date”: “1997”, “Publisher”: “Tata-Mc-Grawhill”}
Here, the book with the title name will be replaced with the book supplied in the body of the PUT request.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved