submissionset.uniqueId generation problem [message #582922] |
Thu, 08 November 2007 22:12 |
Jesse Pangburn Messages: 166 Registered: July 2009 |
Senior Member |
|
|
Hi,
I ran into a funny problem with the submission set's unique id generation.
I passed "1.3.6.1.4.1.11854.1.100.2007.11.08.12.15.36.2" as the
submission set's sourceId, and the bridge generated
" 1.3.6.1.4.1.11854.1.100.2007.11.18.12.15.36.2.11501602901714 6133.1194552938546.1 "
as the XDSSubmissionSet.uniqueId. This is evidenced by the following
snippet of the log entry's printout of the message transmitted:
<rim:ExternalIdentifier
identificationScheme="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 "
value="1.3.6.1.4.1.11854.1.100.2007.11.08.13.56.21.2"><rim:Name ><rim:LocalizedString
value="XDSSubmissionSet.sourceId"
/></rim:Name></rim:ExternalIdentifier><rim:ExternalIdentifier
identificationScheme="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 "
value=" 1.3.6.1.4.1.11854.1.100.2007.11.18.13.56.21.2.12405701300202 3108.1194558984650.1 "><rim:Name><rim:LocalizedString
value="XDSSubmissionSet.uniqueId" /></rim:Name></rim:ExternalIdentifier>
Unfortunately, the repository complained about the length of uniqueId in
this snippet from the response:
Schema Validation Errors:
Input did not validate against
schema:
Error: cvc-maxLength-valid: Value
'1.3.6.1.4.1.11854.1.100.2007.11.18.13.56.21.2.1240570130020 23108.1194558984650.1'
with length = '80' is not facet-valid with respect to maxLength '64' for
type 'ShortName'
I just did a quick count of my characters and there are about 45. The
unique id generation brings the count to 80, so it adds about 35
characters. If this is typical, it means that the bridge user cannot pass
an OID for the submission set sourceId that is longer than about 29
characters. In my case, the fixed part of the OID is
"1.3.6.1.4.1.11854.1.100." (my IHE testing OID) which is 24 characters-
leaving me only 5 characters to generate all my OIDs for IHE testing.
I don't really know what the technical difference is between the sourceId
and the uniqueId, but does the uniqueId need to be that much longer? Can
it just be the same?
thanks,
Jesse
|
|
|
Powered by
FUDForum. Page generated in 0.16626 seconds