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 PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
I ran into a funny problem with the submission set's unique id generation.
I passed "" as the
submission set's sourceId, and the bridge generated
" 6133.1194552938546.1 "
as the XDSSubmissionSet.uniqueId. This is evidenced by the following
snippet of the log entry's printout of the message transmitted:

identificationScheme="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832 "
value=""><rim:Name ><rim:LocalizedString
identificationScheme="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8 "
value=" 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
' 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
"" (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?

Previous Topic:bridge using registry url instead of repository url
Next Topic:creating a top down web service with eclipse
Goto Forum:

Current Time: Thu Apr 19 23:38:02 GMT 2018

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

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