Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » RegistryResponse
RegistryResponse [message #42564] Wed, 02 April 2008 14:28 Go to next message
Eclipse UserFriend
Originally posted by: juj.lincoln.fr

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;amp;ISO is not
known to the Registry" errorCode="XDSUnknownPatientId"
.........
</rs:RegistryErrorList>
</rs:RegistryResponse>

thanks

jjameau
Re: RegistryResponse [message #42594 is a reply to message #42564] Wed, 02 April 2008 15:49 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
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;amp;ISO is not
> known to the Registry" errorCode="XDSUnknownPatientId"
> ........
> </rs:RegistryErrorList>
> </rs:RegistryResponse>
>
> thanks
>
> jjameau
Re: RegistryResponse [message #585427 is a reply to message #42564] Wed, 02 April 2008 15:49 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
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;amp;ISO is not
> known to the Registry" errorCode="XDSUnknownPatientId"
> ........
> </rs:RegistryErrorList>
> </rs:RegistryResponse>
>
> thanks
>
> jjameau
Previous Topic:RegistryResponse
Next Topic:STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ?
Goto Forum:
  


Current Time: Tue Sep 18 18:12:56 GMT 2018

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top