cancel
Showing results for 
Search instead for 
Did you mean: 

web service model cache

junwu
Active Contributor
0 Kudos

Hi all,

I am using adaptive web service model in CE7.2 Server.

every time i made some change to the web service, it is not well recognized,

for example, i add one more field in the input request. i reimported the model, compile and deploy.

the server just can not recognize that field, it always says that model don't have that property.

so every time, I have to restart server to clear the cache and make the new model valid.

is there any other means to clear the cache? restart server is annoying and taking time.

thanks

John

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Try Invalidating dictionary cache. Below are the steps..

1. Goto Webydnpro Administrator Console [ http://portal:portno/webdynpro/dispatcher/sap.com/tc-wd-tools/WebDynproConsole ]

2. Click Invalidation of ARFC Metadata Cache link [located on the extreme leftside of window]

3. Select your JCO Desinations.

4. Click Get Dictionaires for Selected JCO destination

5. Search and select your Dictionary button

6. Click Invalidate Selected Dictionary Cache button

Thanks & Regards,

Aditya Metukul

former_member182374
Active Contributor
0 Kudos

Wrong thread

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Please consider the following:

For JCO Models running on NW 7.2 you go to:

1) NWA

2) Availability and Performance Management --> Resource Monitoring

3) JCO Monitoring

4) Metadata Cache

5) Click on clear of the desired cache region.

For WebServices Cache, please follow the instructions as per notes below:

Note 1088382 - WSIL results are cached after search

Note 1123574 - Caching functionality of the Web service connector

Cheers,

Ivan

Edited by: Ivan Mirisola on Nov 25, 2010 4:35 PM

former_member214651
Active Contributor
0 Kudos

Hi,

Its works this way itself. Every time a change is made to the structure of the model, you need to re-import the model (be it RFC or WebService) and re-start the server. Else the new fields are not recognized

Regards,

Poojith MV

junwu
Active Contributor
0 Kudos

hi Poojith ,

thanks for your reply.

in 2004s, rfc model cache can be cleared in web dynpro console, if my memory is right.

In CE server, I know there is new rfc model, but that requires server restart if any change happen?

Best regards,

John

former_member214651
Active Contributor
0 Kudos

Hi,

Many times the application starts throwing errors because the old information would not have been cleared. Its always adviced to re-start after a re-import.

Its only to ensure that every bit of old data is cleared, thereby saving a lot of time debugging later

Regards,

Poojith MV

former_member182374
Active Contributor
0 Kudos

Wrong thread