[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ohf] Re: If OHF validation the document form?

Hi Robert,
Is it correct that you are just running the XDS Source JUNITs? Mesa12049_Option1.java and Mesa11746_Option1.java? I'd verify the endpoint you are sending to ... the 117* tests are for XDS.a and the 120* tests are for XDS.b. Also from your log of test 12049 it seems that the metadata loaded successfully from the separate file that it was supposed to and made it through the conversion to ebXML 3.0, but dies when we try to encase it in SOAP. To help with this, try to re-run the test, but switch all the log4j parameters to 'debug' (incase they are not) and then submit this bug and your sample files to our bugzilla. This way we have the most information possible.


thanks,
Sarah


Matthew Davis wrote:
Hi,

Yep, this is kind of correct. If you tell the XDS Source component that you are providing a CDA document, it attempts to do an XDS metadata extraction from elements of the CDA before submitting the document. This allows a user to create an XDS document submission without doing (much) additional work in setting values for the XDS metadata - something that can be quite tedious.

I actually think you have encountered a bug in OHF. Is it possible for you to send me (attached to this post or through a bug report at http://www.eclipse.org/ohf/bugs.php) the document you're trying to submit? I will drop it into the test and see what the debug results are and whether there's something wrong in OHF. If the document is not a CDA, then the XDS metadata probably isn't being formed properly. But -- this doesn't appear to be a result of that. It will help me a lot in trying to determine what's wrong.

Thanks!
-Matt

RobertHua wrote:

I puzzuled that If OHF validation the document form before submitting?
This means is :if the docement that submits to the Repository is wrong or not exact XML file, the OHF validates it and repeat the error?


In other words,for this code Document clinicalDocument = new Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I change the input.xml to a document that is not a CDA_R2 docment,OHF is able to check the document that is not CDA_R2?

I do this,but it also is successful to submit to the services.

I would like to know OHF able to check document,for example ,using CDA Schema check CDA document etc.