[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ohf] Re: RegistryResponse

Hi,

Source.submit(SubmitTransactionData) returns type org.eclipse.ohf.ihe.xds.XDSResponseType, which contains an EMF representation of the RegistryResponse structure.

XDSResponseType.getStatus() has the rs:RegistryResponse/@status attribute
XDSResponseType.getErrorList() returns the child elements of rs:RegistryErrorList.


-Matt


exquisitus wrote:
Hi,

Is there a way to get the registry response when I do "source.submit(txnData);" ?

ex :
<rs:RegistryResponse xmlns:rs="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1" status="Failure">
<rs:RegistryErrorList>
<rs:RegistryError codeContext="XDS Unknown Patient Id:&#xa; PatientId 21a217088720423dddzzd^^^&amp;1.3.6.1.4.1.21367.2005.3.7&amp;ISO is not known to the Registry" errorCode="XDSUnknownPatientId"
........
</rs:RegistryErrorList>
</rs:RegistryResponse>


thanks

jjameau