RegistryResponse [message #42564] |
Wed, 02 April 2008 14:28 |
Eclipse User |
|
|
|
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:
 PatientId
21a217088720423dddzzd^^^&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 |
Matthew Davis 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:

> PatientId
> 21a217088720423dddzzd^^^&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 |
Matthew Davis 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:

> PatientId
> 21a217088720423dddzzd^^^&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
|
|
|
Powered by
FUDForum. Page generated in 0.02463 seconds