WSM-01709 and WSM-02557 Errors Logged When Testing Composites (Doc ID 2129191.1)

Last updated on FEBRUARY 17, 2017

Applies to:

Oracle Web Services Manager - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Facing an issue when attempting to test SOA composites deployed to 12.2.1 with OWSM policies attached.

The error that occurs on the test page is the following:

Either the WSDL/WADL URL is invalid or the WSDL/WADL file is not valid or incorrect. - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://egn-qasoa-vip1:8004/soa-infra/services/default/SimpleApproval/client?WSDL:WSDL not found
WSDLException: faultCode=OTHER_ERROR: A policy advertisement error occurred while retrieving the WSDL associated with the provider: FabricProvider: oracle.fabric.common.AdvertisementException: Advertisement Engine failure

In the server log, the following is seen:

[oracle.j2ee.ws.common] [tid: [ACTIVE].ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ] [ecid: 018307d9-7902-4e42-bdb1-1460557ec50f-00000216,0] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [composite_name: SimpleApproval] Unable to provision web service, cannot read WSDL. Error: Advertisement Engine failure : WSM-01709 : The Runtime PolicySet cannot be advertised due to validation errors.[[
PolicySet "PolicySet [...)], advertisementExpression=http://xmlns.oracle.com/bpel/workflow/taskService#wsdl.endpoint(client/TaskService_pt), features=[]], polmap={}, constraintedDataMap={ConstraintGroup [terms=[], size=0, weight=0]=ConstraintedData [status=FAILURE, localoptimization=ON, validationErrors=[ValidationError [m_errorCode=WSM-02557, m_errorMessage=WSM-02557, m_errorContext=oracle.wsm.policymanager.accessor.BeanAccessor, m_errorLevel=error, m_resourceBundle=policymanager, m_errorMsgArgs=[&(policysets:global:%)(@appliesTo~="SCA-SERVICE()")]]], overrides=[], polRefs=[]]}, locked=true]"
validation errors: "WSM-02557 : The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment.
The query "&(policysets:global:%)(@appliesTo~="SCA-SERVICE()")" is queued for later retrieval. [oracle.wsm.policymanager.accessor.BeanAccessor]

The wsm-pm application is deployed to the SOA Server and is listed as Active on the Weblogic Console.  Also, when examining the Cross Component Wiring section in the EM console, all the Service Endpoints are Published under the OWSM Policy Manager section and the Client Components for the OWSM Agent appear as Wired, which is the correct configuration.

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