Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » XCA error codes not recognized
XCA error codes not recognized [message #587531] Wed, 10 September 2008 18:36
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi,
So, I'm doing some XCA error testing on the bridge and I sent back the
following "Partial Success" stuff:
[DEBUG][11:29:19][hf.ihe.xds.consumer.B_Consumer] Got response :
<ns5:AdhocQuery
Response

status=" urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:PartialSu ccess "
xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
xmlns:ns6="urn:ihe
:iti:xds-b:2007">
<ns3:RegistryErrorList>
<ns3:RegistryError
codeContext="Initiating Gateway Error: caught exception trying
to call receiving gateway 'NIST Public Receiving Gateway'"
errorCode="XDSUnavailableCommunity"

location=" com.healthvision.initiatinggateway.webservice.InitiatingGate wayService.sendQueryToReceivingGateway(InitiatingGatewayServ ice.java:304) "
severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error "/>
</ns3:RegistryErrorList>
<ns2:RegistryObjectList>
<ns2:ExtrinsicObject home="urn:oid:1.19.6.24.109.42.1.3"
...

There are two objects from another gateway that are returned successfully,
and you can see the status is PartialSuccess. There are two problems I
see after that. First, when the error is displayed in the log, the new
XCA error "XDSUnavailableCommunity" seems to be replaced with
"UNKNOWNERROR" indicating the Bridge is not aware of the XCA codes:
[DEBUG][11:29:19][.ohf.ihe.xds.XDSResponseParser] Loading response in EMF.
[DEBUG][11:29:19][.ohf.ihe.xds.XDSResponseParser] Partial Success.
[DEBUG][11:29:19][.ohf.ihe.xds.XDSResponseParser] RegistryResponse error 0
code
is unrecognized.
[INFO ][11:29:19][.ohf.ihe.xds.XDSResponseParser] Error #0
Severity=Error
Code=UNKNOWNERROR
Code Context=Initiating Gateway Error: caught exception trying to
call r
eceiving gateway 'NIST Public Receiving Gateway'
Location=
com.healthvision.initiatinggateway.webservice.InitiatingGate wa
yService.sendQueryToReceivingGateway(InitiatingGatewayServic e.java:304)


- Error #0
Severity=Error
Code=UNKNOWNERROR
Code Context=Initiating Gateway Error: caught exception trying to
call r
eceiving gateway 'NIST Public Receiving Gateway'
Location=
com.healthvision.initiatinggateway.webservice.InitiatingGate wa
yService.sendQueryToReceivingGateway(InitiatingGatewayServic e.java:304)


The second problem is that the bridge says it got 0 documents, when the
log showed that it received two. Additionally, the response shows as [0]
which I believe is your success status:
[DEBUG][11:29:19][se.ohf.bridge.ihe.IheXdsBridge] got 0 documents by
QueryDocumentsByPatientId(PatientIdType ( idNumber=[01bfd2ebbd3743d]
assigningAuthority=[AssigningAuthority ( namespaceId=[]
universalId=[1.3.6.1.4.1.21367.2005.3.7] universalIdType=[ISO]
useDefaultAssigningAuthority=[false] universalIdTypeCode=[] )]
))
[DEBUG][11:29:19][clipse.ohf.bridge.ws.OHFBridge] returning response:
ResponseType ( response=[0] ) QueryDocumentsResponseType (
documentTypeArray=[] )
[DEBUG][11:29:19][clipse.ohf.bridge.ws.OHFBridge] got 0
documents:ResponseType ( response=[0] ) QueryDocumentsResponseType (
documentTypeArray=[] )

thanks,
Jesse
Previous Topic:bridge success status not working
Next Topic:How to use HL7 communication?
Goto Forum:
  


Current Time: Wed Sep 18 19:53:01 GMT 2024

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

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

Back to the top