| [news.eclipse.technology.ohf] Re: XCA testing status |
Sweet!! Nice work Jesse!
- Sarah
Hi all,
Just to let the other bridge users know, I have done some preliminary testing on the XCA support and have good news to share with you. The test configuration looks like this:
my test client -> OHF Bridge -> my initiating gateway -> NIST receiving gateway
Using the bridge, I submitted the stored query request to search for documents by patient id and set the parameter useXCA to true. This successfully pulled my initiating gateway URL from the rhioConfig.xml and submitted the query. My initiating gateway (a very experimental version at this point) called NIST's receiving gateway to search for documents for a patient I had just created and submitted a couple documents for (using regular XDS.b). It returned the response to the OHF bridge which I then examined.
The response contained all the necessary data including the home community id in addition to the regular XDS.b meta data. I took this home community id and added it to a regular XDS.b RetrieveDocumentSet query and sent this to the bridge to get the document. It's the same as normally taking a query response and doing a document retrieve using the bridge, just copying the home community id is the only thing I did differently.
The bridge saw the home community id and knew to do the XCA retreive document set instead of just talking to the repository directly. So my gateway received the retrieve document request, sent it on to the NIST receiving gateway and then returned the response to the bridge.
I examined the response and it had my document base64 encoded. So the query and retrieve in XCA works on the bridge! A note of caution though, Matt pointed out earlier that the GetDocument request by uuid or unique id will probably fail using XCA at this point though he plans to fix that this fall. But for now, the query documents by patient id and document retrieve via XCA is successful.
Nice job OHF team! :-)