Return-Path: Delivered-To: apmail-ws-scout-dev-archive@www.apache.org Received: (qmail 19676 invoked from network); 25 Jul 2007 02:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 02:34:52 -0000 Received: (qmail 61499 invoked by uid 500); 25 Jul 2007 02:34:54 -0000 Delivered-To: apmail-ws-scout-dev-archive@ws.apache.org Received: (qmail 61481 invoked by uid 500); 25 Jul 2007 02:34:54 -0000 Mailing-List: contact scout-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: scout-dev@ws.apache.org List-Id: Delivered-To: mailing list scout-dev@ws.apache.org Received: (qmail 61470 invoked by uid 99); 25 Jul 2007 02:34:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 19:34:54 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2007 19:34:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E5602714159 for ; Tue, 24 Jul 2007 19:34:31 -0700 (PDT) Message-ID: <19060394.1185330871874.JavaMail.jira@brutus> Date: Tue, 24 Jul 2007 19:34:31 -0700 (PDT) From: "Kurt Stam (JIRA)" To: scout-dev@ws.apache.org Subject: [jira] Commented: (SCOUT-47) tmodel_instance_info row not created In-Reply-To: <18714469.1185164611251.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SCOUT-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515137 ] Kurt Stam commented on SCOUT-47: -------------------------------- Hi Betty, Are you in position to try the code on the trunk. We are about to cut a 1.0rc1 release. In that code base you can look at some of the unit tests for example code. Thx, --Kurt > tmodel_instance_info row not created > ------------------------------------ > > Key: SCOUT-47 > URL: https://issues.apache.org/jira/browse/SCOUT-47 > Project: Scout > Issue Type: Bug > Components: Scout - jUDDI Interface > Environment: juddi .90 > Reporter: Betty Tjandra > Assignee: Kurt Stam > > I am using JAXR to access juddi and I have scout-0.7rc2.jar. > I encountered a problem when I tried to create the SpecificationLink, no error but there is no entry added to the tmodel_instance_info, wonder why. > Is that a bug to this, please le tme know or I may have done this wrong. > Here are my code: > UDDIConnection uddiConnection = new UDDIConnection("jdoe",""); > try > { > Connection conn = uddiConnection.connectToRegistry(); > RegistryService regServ = conn.getRegistryService(); > BusinessQueryManager qryManager = regServ.getBusinessQueryManager(); > BusinessLifeCycleManager lifeCycleManager = regServ.getBusinessLifeCycleManager(); > > //Find my organisaztion by its Key > Organization myOrganization = (Organization)qryManager.getRegistryObject("46BE3FB0-37AF-11DC-BB03-AF3601554574", LifeCycleManager.ORGANIZATION); > String orgName = myOrganization.getName().getValue(); > // Create and add a new Service to my organization > Service service = lifeCycleManager.createService("ncessim-service"); > InternationalString desc = lifeCycleManager.createInternationalString("The Main HTML Web site for "+ orgName); > service.setDescription(desc); > myOrganization.addService(service); > > // Create, add, and configure a new ServiceBinding > > ServiceBinding servBinding = lifeCycleManager.createServiceBinding(); > service.addServiceBinding(servBinding); > servBinding.setValidateURI(false); > servBinding.setAccessURI("http://www"+orgName+".com/ncessim.html"); > > Concept concept = (Concept)qryManager.getRegistryObject("uuid:E8D73410-38C6-11DC-BB03-A1DE1BF7EE06",LifeCycleManager.CONCEPT); > System.out.println("__concept "+concept.getKey()+" value "+concept.getValue() + "path "+concept.getPath()); > // Create a SpecificationLink and add it to the ServiceBinding > SpecificationLink specLink = lifeCycleManager.createSpecificationLink(); > servBinding.addSpecificationLink(specLink); > specLink.setSpecificationObject(concept); > > //Save the Organization in the UDDI Directory > Set organisationSet = new HashSet(); > organisationSet.add(myOrganization); > BulkResponse response = lifeCycleManager.saveOrganizations(organisationSet); > > conn.close(); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org For additional commands, e-mail: scout-dev-help@ws.apache.org