Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2012-10-11T09:50:38Z by Daviiid
Daviiid
Daviiid
282 Posts
ACCEPTED ANSWER

Pinned topic Delete WSDLCachePolicy in deployment policy

‏2012-10-09T14:12:18Z |
Hello

I have configure a wsdl cache policy in a WSP

Here is the configuration in the export.zip WSP

<WSDLCachePolicy>
        <Match>*</Match>
        <TTL>15</TTL>
</WSDLCachePolicy>


How can i create a deployment policy which delete this configuration.

Thanks all
Updated on 2014-03-25T02:47:32Z at 2014-03-25T02:47:32Z by iron-man
  • swlinn
    swlinn
    1346 Posts
    ACCEPTED ANSWER

    Re: Delete WSDLCachePolicy in deployment policy

    ‏2012-10-09T16:23:49Z  in response to Daviiid
    In general, deployment policies are somewhat difficult with a complex property, but to delete a single complex property (eg, not a repeating element) you should should be able to do this. The Builder in the Deployment Policy GUI will only let you choose a child element and not the overall WSDLCachePolicy element, but once it fills in the match with the actual node names, you can go back and remove the child element, so in your case,

    My original match was */*/services/ws-proxy?Name=.*&Property=WSDLCachePolicy/TTL, but I removed the child node. This should work

    */*/services/ws-proxy?Name=.*&Property=WSDLCachePolicy Delete Configuration

    Regards,
    Steve
    • Daviiid
      Daviiid
      282 Posts
      ACCEPTED ANSWER

      Re: Delete WSDLCachePolicy in deployment policy

      ‏2012-10-11T09:47:37Z  in response to swlinn
      Hi Steeve

      thanks for response

      In my deployement policy (screen shot), i use a delete configuration with your suggestion

      The export objet had still WSDLCachePolicy...

      strange.
    • Daviiid
      Daviiid
      282 Posts
      ACCEPTED ANSWER

      Re: Delete WSDLCachePolicy in deployment policy

      ‏2012-10-11T09:50:38Z  in response to swlinn
      oops..

      It works..

      Thanks and sorry :)