My Oracle Support Banner

In UIM for Custom Webservices, Cache Cordination Issue - WS Returning OLD Results. (Doc ID 2111934.1)

Last updated on APRIL 09, 2024

Applies to:

Oracle Communications Unified Inventory Management - Version 7.2.5.0.0 and later
Information in this document applies to any platform.

Goal

Custom Webservice which is part of InvCustom.ear is returning old values.
 
A method performs ServiceManager.findServices API call in order to retrieve the Service object based on the service id.
During testing you noticed the following behavior:
• The first test after server restart takes about 10 seconds to perform the findServices API call and retrieves the service correctly.
• Any other test after that takes few msec to retrieve the service, either for the same or different serviceId.
• In case any change is performed in the Service from the GUI (i.e. delete the value from a characteristic), the changes are not visible through the service. It still retrieves the Service as it was before the manual changes.
• After restart, the Service is retrieved correctly.
 
Based on the above, it seems like a caching issue.
Which is the configuration that may cause the results to be cached? Why WS is returning old values?

InvCustom.ear - It is the ear of custom WS code . The service supports both SOAP over HTTP and SOAP over JMS.
 

Solution

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
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.