Assign Custom Policy To JAX-RPC Port Fails With Error "Can not retrieve policy from the static wsdl"
(Doc ID 1986756.1)
Last updated on JUNE 16, 2023
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 12c]
Information in this document applies to any platform.
A JAX-RPC WebService has been created and a custom Policy file is included in the app (in the WEB-INF or META-INF /policies).
The Custom Policy is visible in the Console, however when assigning thePolicy to the Port, this fails with:
* Error An error occurred during activation of changes, please see the log for details.
* Error Can not retrieve policy from the static wsdl, you must initialize the service from a dynamic wsdl
* Error Substituted for missing class Can not retrieve policy from the static wsdl, you must initialize the service from a dynamic wsdl -
- Assigning a canned Policy to the Port works
- Assigning the custom Policy to the Operation works
- the same works also for JAX-WS based WebServices
try to attach Policy
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