Hi Anuja,
In order to enable proxy mode within the SMART Classic reference
container you will need to set up a REST service with a known URL
(should be something on an internal network only accessible to the
SMART server). After you set up the PROXY_URL in the settings.py
file with your service's URL, the SMART server should begin
sending patient data requests to your service to which it is
expected to respond with proper SMART RDF appropriate for the
request. We do have a sample implementation on Grails, but it's
probably an overkill to dissect it. What I would do in your place
is set up a dummy service that logs all incoming requests and
responds with a static RDF XML string to test the functionality.
This should give you an idea how to proceed further.
On a related note, we have shifted our development resources into
SMART on FHIR (the next generation SMART framework). SMART Classic
(the framework you are exploring) is currently frozen and with
very limited support. SMART on FHIR is build on top of HL7 FHIR as
its data modelling and REST call protocol and is designed to be
highly modular. Unless you have a rigid requirement to work with
SMART Classic, I would highly recommend investigating SMART on
FHIR.
Best,
Nikolai