Table J3_TMODEL_INSTANCE_INFO - Column INSTANCE_PARMS getting persisted with 
NULL in DB2
----------------------------------------------------------------------------------------

                 Key: SCOUT-114
                 URL: https://issues.apache.org/jira/browse/SCOUT-114
             Project: Scout
          Issue Type: Bug
          Components: Scout Implementation
    Affects Versions: 1.2.2
         Environment: Websphere App Server + DB2
            Reporter: Ashley
            Assignee: Kurt T Stam
             Fix For: 1.2.3


Hi,

Basically we are trying to persist WSDL info (like WSDL Location/Complex Types 
etc) into JUDDI.
Hence we call blm.saveServices(services).

1. Within this ...we create a Cocept (TModel), set a classification (eg. 
"uddi-org:types") to it.
2. create service and servicebinding.
3. create a SpecificationLink   (TMODEL_INSTANCE_INFO pertains to 
SpecificationLink.)
4. Set a an External link to the SpecificationLink;
5. And finally associate the SpecificationLink   to the service binding.

This causes an insertion of row in TMODEL_INSTANCE_INFO with the concept key 
and the service binding key with the Column INSTANCE_PARMS set to NULL.
Also a row in J3_OVERVIEW_DOC with ENTITY_KEY = (New Tmodel Key ) , 
OVERVIEW_URL = (location of my WSDL) and TMODEL_INSTANCE_INFO = (BLANK)

Now....on trying to find services (bqm.findServices)
I Iterate services, its bindings, and finally the spec links of the bindings.
Now This Spec Link fails to load due to the NULL field of  INSTANCE_PARMS .
If I change the value of INSTANCE_PARMS to blank, the spec links load perfectly.

Can you initialize INSTANCE_PARMS to BLANK, instead of NULL? Also if thats not 
possible can you let me know to to set INSTANCE_PARMS  to any value?
Have been unable to persist a value in INSTANCE_PARMS......Thank you.










--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to