My Oracle Support Banner

Impossible To Use A Custom Policy For A JAX-WS Webservice With WSRM (Doc ID 1384489.1)

Last updated on JULY 31, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.5 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

This issue occurs when placing WSRM based policy files in same folder as class files. It is not picking up those files and throwing errors. The changes that have been done are creating a JAX-WS web service and adding Reliability features (WSRM 1.1) with a custom policy file. Then use the @Policy annotation to add the policy at the port level and after deploying on both WLS 10.3.4 and WLS 10.3.5 throws an exception "Unable to to retrieve policy from URI 'SAPDefaultReliability1.1.xml'. An error occurred during activation of changes, please see the log for details."

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.