You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scout-dev@ws.apache.org by "Betty Tjandra (JIRA)" <sc...@ws.apache.org> on 2007/07/23 06:23:31 UTC

[jira] Created: (SCOUT-47) tmodel_instance_info row not created

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: Anil Saldhana


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<Organization> organisationSet =  new HashSet<Organization>();
			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


[jira] Assigned: (SCOUT-47) tmodel_instance_info row not created

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam reassigned SCOUT-47:
------------------------------

    Assignee: Kurt Stam  (was: Anil Saldhana)

> 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<Organization> organisationSet =  new HashSet<Organization>();
> 			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


[jira] Commented: (SCOUT-47) tmodel_instance_info row not created

Posted by "Kurt Stam (JIRA)" <sc...@ws.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<Organization> organisationSet =  new HashSet<Organization>();
> 			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


[jira] Commented: (SCOUT-47) tmodel_instance_info row not created

Posted by "Betty Tjandra (JIRA)" <sc...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/SCOUT-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517023 ] 

Betty Tjandra commented on SCOUT-47:
------------------------------------

Hi Kurt,

I have downloaded 1.0RC, I noticed that the creating the tModel with specificationLink did not work for this release that used to work in .7RC.  In 0.7 when I create the 
concept with externalLink it will include my link into the tModel table under the OVERVIEW_URL, but in 1.0RC I ran the same code the OVERVIEW_URL is null.  So, I switched back to .7RC this scenario worked.

I am wondering if this is a bug in 1.0, please help me to resolve this problem.

Thanks
Betty



> 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<Organization> organisationSet =  new HashSet<Organization>();
> 			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


[jira] Closed: (SCOUT-47) tmodel_instance_info row not created

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam closed SCOUT-47.
--------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Yes this was a bug in 1.0rc1 due to not a not fully completed merge from the 0.7 branch.

> 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
>             Fix For: 1.0
>
>
> 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<Organization> organisationSet =  new HashSet<Organization>();
> 			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


[jira] Updated: (SCOUT-47) tmodel_instance_info row not created

Posted by "Kurt Stam (JIRA)" <sc...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/SCOUT-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kurt Stam updated SCOUT-47:
---------------------------

    Fix Version/s:     (was: 1.0)
                   1.0rc2

> 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
>             Fix For: 1.0rc2
>
>
> 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<Organization> organisationSet =  new HashSet<Organization>();
> 			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