From: Farrukh N. <Farrukh.Najmi@Sun.COM> - 2005-07-28 12:11:23
|
Rya...@cs... wrote: >Hi Diego >SUCCESS - added the profile to the registry and added a instance as >well. Thanks Diego for ANT target layout, followed that and it worked a >treat. > > Excellent news! >1. Our first test was to get the ebRim Profile for the GLUE schema into >the registry via a SubmitObjectsRequest (please see attached - >SubmitObjectsRequest_GLUEProfile.xml) and this registered the profile in >the registry using a target added to user-build.xml ("loadGLUETypes") > >2. Our second test was to get the Profile for the GLUE schema with an >instance into the registry via a SubmitObjectsRequest (please see >attached SubmitObjectsRequest_GLUEProfileAndInstance.xml) and this >registered the profile AND the instance in the registry through target >"loadGlueTypesAndInstance" (user-build.xml) > >3. Though when loading the Profile and an Instance SEPERATELY >(SubmitObjectsRequest_GLUEProfile.xml & >SubmitObjectsRequest_glueRimProfileInstance.xml) it does not appear to >work. Submitting the profile does (such as in test 1) but the instance >does load and I get the following errors: > >runSOAPSender: > [java] <SOAP-ENV:Envelope >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Hea >der/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>urn:oasis:names:tc:ebxml- >regrep:rs:exception:javax.xml.registry.RegistryException</faultcode><fau >ltstring>javax.xml.registry.RegistryException: The lid >"urn:x-seegrid:apac:registry::ExtrinsicObject:CE:Fred" does not match >existing lid "urn:x-seegrid:apac:registry:ExtrinsicObject:CE:Fred" on >object with id >"urn:x-seegrid:apac:registry:ExtrinsicObject:CE:Fred".</faultstring><det >ail><rs:StackTrace > > Above error says that you are submitting an object with id "urn:x-seegrid:apac:registry:ExtrinsicObject:CE:Fred" once in each file (twice total) and that the second file loaded has the objects lid not match the instance of the object in the first file. Notice teh lids dontmatch because you have a typo "::' instead of ":". I believe if you fix that then that would take care of the problem. Good luck. -- Regards, Farrukh http://ebxmlrr.sourceforge.net/tmp/ebXMLRegistryLinks.html |