posted 12 years ago
Your approach looks more sound to me than sending messages to the external system as that requires much more processing from your server side. However, the requirements seem to clearly tell that
"SuD sends an item id and the external system responds with the price".
Would it not mean you are changing the requirements ?
But yes, you CAN make certain assumptions as long as it keeps the business requirements consistent with the assignment.
SCJP 5.0 , SCEA Java EE 5, TOGAF Certified