Unsupported or unrecognized policy causes smart policy selection to fail (Doc ID 1458935.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Weblogic Server - Version 10.3.5 and later
Information in this document applies to any platform.

Symptoms

A JAX-WS webservice client that uses a WSDL that contains an unsupported/unrecognized policy (WS-Addressing policy, in this case), causes the Smart Policy selection to always choose the default policy, which is the first of the options. So the symptom of the issue is that the client always attempts to secure the request using the first policy in a multiple policy situation, no matter what is set for the smart policy selection process.

 

See the following doc on policies with multiple alternatives and the smart policy selection process:

http://docs.oracle.com/cd/E24329_01/web.1211/e24488/message.htm#i275869

 

The smart policy selection process fails when there is an unrecognized/unsupported policy.  In this instance, the policy is WS-Addressing. This is explicitly unsupported; however, its presence in the client-read WSDL causes Smart Selection to always choose the default (first policy in the policy options).
   

Cause

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