Characteristics with SQL Query link fails when Updated with API / WS.
(Doc ID 2683435.1)
Last updated on AUGUST 17, 2023
Applies to:
Oracle Communications Unified Inventory Management - Version 7.4.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
On : 7.4.0.0.0 version, Network Management
Characteristics with SQL query link when updates from EntityUtil.setValue(LD,Charname,charvalue) throws an error "The Value that was selected (value) is not in the dropdown list". But this value actually comes from a query.
Error:
"Characteristic Country Region is a dropdown list. The value that was selected (India) is not in the dropdown list"
Even with NRMS -> UpdateEntityAPI WS the Update of Custom Characteristic with SQL Query fails.
UpdateEntityRequest :
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:spec="http://xmlns.oracle.com/communications/inventory/specification"
xmlns:tn="http://xmlns.oracle.com/communications/inventory/number"
xmlns:cna="http://xmlns.oracle.com/communications/inventory/customnetworkaddress" xmlns:ld="http://xmlns.oracle.com/communications/inventory/logicaldevice"
xmlns:pd="http://xmlns.oracle.com/communications/inventory/physicaldevice"
xmlns:prop="http://xmlns.oracle.com/communications/inventory/property"
xmlns:place="http://xmlns.oracle.com/communications/inventory/place"
xmlns:bi="http://xmlns.oracle.com/communications/inventory/businessinteraction"
xmlns:config="http://xmlns.oracle.com/communications/inventory/configuration"
xmlns:ent="http://xmlns.oracle.com/communications/inventory/entity"
xmlns:ig="http://xmlns.oracle.com/communications/inventory/group"
xmlns:nsrm="http://xmlns.oracle.com/communications/inventory/webservice/nsrm"
xmlns:com="http://xmlns.oracle.com/communications/inventory/webservice/common">
<soapenv:Header>
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:spec="http://xmlns.oracle.com/communications/inventory/specification"
xmlns:tn="http://xmlns.oracle.com/communications/inventory/number"
xmlns:cna="http://xmlns.oracle.com/communications/inventory/customnetworkaddress" xmlns:ld="http://xmlns.oracle.com/communications/inventory/logicaldevice"
xmlns:pd="http://xmlns.oracle.com/communications/inventory/physicaldevice"
xmlns:prop="http://xmlns.oracle.com/communications/inventory/property"
xmlns:place="http://xmlns.oracle.com/communications/inventory/place"
xmlns:bi="http://xmlns.oracle.com/communications/inventory/businessinteraction"
xmlns:config="http://xmlns.oracle.com/communications/inventory/configuration"
xmlns:ent="http://xmlns.oracle.com/communications/inventory/entity"
xmlns:ig="http://xmlns.oracle.com/communications/inventory/group"
xmlns:nsrm="http://xmlns.oracle.com/communications/inventory/webservice/nsrm"
xmlns:com="http://xmlns.oracle.com/communications/inventory/webservice/common">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<nsrm:updateEntityRequest>
<nsrm:entityDetails xsi:type="ld:LogicalDeviceType">
<ld:name>test56</ld:name>
<ld:property>
<prop:name>Country_region</prop:name>
<prop:value>India</prop:value>
</ld:property>
</nsrm:entityDetails>
<nsrm:entitySearchCriteria>
<ent:entity xsi:type="ld:LogicalDeviceType"/>
<ent:specification>
<spec:name>Ld_1</spec:name>
</ent:specification>
<ent:criteriaItem>
<ent:name>name</ent:name>
<ent:value xsi:type="xs:string">test56</ent:value>
<ent:operator>EQUALS</ent:operator>
</ent:criteriaItem>
</nsrm:entitySearchCriteria>
</nsrm:updateEntityRequest>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Body>
<nsrm:updateEntityRequest>
<nsrm:entityDetails xsi:type="ld:LogicalDeviceType">
<ld:name>test56</ld:name>
<ld:property>
<prop:name>Country_region</prop:name>
<prop:value>India</prop:value>
</ld:property>
</nsrm:entityDetails>
<nsrm:entitySearchCriteria>
<ent:entity xsi:type="ld:LogicalDeviceType"/>
<ent:specification>
<spec:name>Ld_1</spec:name>
</ent:specification>
<ent:criteriaItem>
<ent:name>name</ent:name>
<ent:value xsi:type="xs:string">test56</ent:value>
<ent:operator>EQUALS</ent:operator>
</ent:criteriaItem>
</nsrm:entitySearchCriteria>
</nsrm:updateEntityRequest>
</soapenv:Body>
</soapenv:Envelope>
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |