Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » submissionset.uniqueId generation problem
submissionset.uniqueId generation problem [message #582922] Thu, 08 November 2007 22:12
Jesse Pangburn is currently offline 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:&#xa;Input did not validate against
schema:&#xa;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
Previous Topic:bridge using registry url instead of repository url
Next Topic:creating a top down web service with eclipse
Goto Forum:
  


Current Time: Fri Oct 31 08:45:38 GMT 2014

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

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