Unable to use more than one security policy inside @Policies annotation with Webservice (Doc ID 1053523.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.


When developing Webservice from Java class (using WLW or ANT task) and annotating it with @Policies annotation, the policies specified are not reflected in the generated WSDL. On the other hand, when @Policy is used, it works fine and WSDL contains the proper policy definition attached to WSDL file.
1.)Policy annotation is used for single policy file
   @Policy (uri="policy:myPolicy.xml",

2.)Policies annotation is used for more than one policy file
   @Policies ({

Unable to use more than one security policy.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms