You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Alex Holmes <ic...@yahoo.com> on 2004/08/12 06:15:45 UTC

saveTModel throws error, and seems to remove tModel

Hi,

When I try and update an existing tModel with new data, I get
an exception that complains of a duplicate key (which is true,
as I'm updating, not creating a new one).  However, then the
tModel that I tried updating can't be retrieved at all from
the registry.  Has anyone else experienced this?  

Thanks for any help,
Alex

Here's the request and response messages:

Request body:
<save_tModel generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:34EEDA90-EC05-11D8-9A90-9E70B848F48B</authInfo><tModel
authorizedName="John Doe" operator="jUDDI.org"
tModelKey="uuid:D5B01E30-EB5B-11D8-9E30-FE99729CEBA3"><name>Alex's
tmodel</name><overviewDoc/><identifierBag><keyedReference keyName="aa"
keyValue="cc"
tModelKey="uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823"/></identifierBag><categoryBag/></tModel></save_tModel>

Response body:
<Fault><faultstring>Duplicate key or integrity constraint violation, 
message from server: &quot;Duplicate entry
'uuid:D5B01E30-EB5B-11D8-9E30-FE99729CEBA3' for key
1&quot;</faultstring></Fault>


RE: saveTModel throws error, and seems to remove tModel

Posted by Steve Viens <st...@viens.net>.
Alex, I think you may have uncovered a recently introduced bug.  I'll
take a look this afternoon to confirm.  In the meantime could you add it
to jUDDI's bug list?

  http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10401

Steve

-----Original Message-----
From: Alex Holmes [mailto:icepickorama@yahoo.com] 
Sent: Thursday, August 12, 2004 12:16 AM
To: juddi-user@ws.apache.org
Subject: saveTModel throws error, and seems to remove tModel

Hi,

When I try and update an existing tModel with new data, I get
an exception that complains of a duplicate key (which is true,
as I'm updating, not creating a new one).  However, then the
tModel that I tried updating can't be retrieved at all from
the registry.  Has anyone else experienced this?  

Thanks for any help,
Alex

Here's the request and response messages:

Request body:
<save_tModel generic="2.0"
xmlns="urn:uddi-org:api_v2"><authInfo>authToken:34EEDA90-EC05-11D8-9A90-
9E70B848F48B</authInfo><tModel
authorizedName="John Doe" operator="jUDDI.org"
tModelKey="uuid:D5B01E30-EB5B-11D8-9E30-FE99729CEBA3"><name>Alex's
tmodel</name><overviewDoc/><identifierBag><keyedReference keyName="aa"
keyValue="cc"
tModelKey="uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823"/></identifierBag><
categoryBag/></tModel></save_tModel>

Response body:
<Fault><faultstring>Duplicate key or integrity constraint violation, 
message from server: &quot;Duplicate entry
'uuid:D5B01E30-EB5B-11D8-9E30-FE99729CEBA3' for key
1&quot;</faultstring></Fault>