IBM Support

PM92761: CWPOL0040E UNSUPPORTEDNAMESPACEEXCEPTION WHEN A WSDL FILE ASSERTS A WS-POLICY NAMESPACE PRIOR TO VERSION 1.5

Fixes are available

8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The supported version of Web Services (WS) Policy is 1.5.  The
    corresponding namespace is http://www.w3.org/ns/ws-policy.
    However, the WSDL file is using assertions from a different
    version of the WS-Policy specification using namespace
    http://schemas.xmlsoap.org/ws/2004/09/policy.  This can result
    in the following error...
    
    [6/28/13 8:51:18:051 CDT] 00000045 WSDLHelperImp W
    CWPOL0040E: The client cannot establish how policy is
    configured for the service
    {http://testservice.org/}testService1 because while processing
    the WSDL document attached to the service the following
    exception occurred
    com.ibm.ws.wspolicy.UnsupportedNamespaceException
    at
    com.ibm.ws.wspolicy.wsdl.WSDLProcessor.<init>(WSDLProcessor.java
    :140)
    at
    com.ibm.ws.wspolicy.policyset.WSDLHelperImpl.processWSPolicyInPa
    ckagedWSDL(WSDLHelperImpl.java:80)
    at
    com.ibm.ws.websvcs.deployment.WASAxis2PolicySetConfigurator.asso
    ciatePolicySets(WASAxis2PolicySetConfigurator.java:385)
    at
    com.ibm.ws.websvcs.client.WSClientConfigurationFactory.completeA
    xis2Configuration(WSClientConfigurationFactory.java:459)
    at
    org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.
    <init>(EndpointDescriptionImpl.java:286)
    at
    org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.
    <init>(EndpointDescriptionImpl.java:223)
    at
    org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.u
    pdateEndpointDescription(ServiceDescriptionImpl.java:534)
    at
    org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.u
    pdateEndpoint(DescriptionFactoryImpl.java:382)
    at
    org.apache.axis2.jaxws.description.DescriptionFactory.updateEndp
    oint(DescriptionFactory.java:180)
    at
    org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelega
    te.java:597)
    at
    org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelega
    te.java:513)
    at javax.xml.ws.Service.getPort(Service.java:99)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of       *
    *                  WS-Policy                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Valid WS-Addressing policy in a         *
    *                      JAX-WS proxy client's WSDL may be       *
    *                      ignored in cases where CWPOL0040E       *
    *                      message is issued.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    WS-Policy support in WebSphere Application Server is limited
    to the WS-Policy 1.5 specification.  The JAX-WS specification
    has a conformance requirement that valid WS-Addressing
    expressed in a JAX-WS client proxy's WSDL in WS-Policy 1.5 is
    applied under certain conditions.  If WebSphere Application
    Server encounters any WS-Policy in the client proxy's WSDL
    that does not conform to the WS-Policy 1.5 namespace it
    reports the condition via message CWPOL0040E but does not
    apply any valid WS-Addressing policy that is expressed in a
    valid WS-Policy 1.5 namespace.
    

Problem conclusion

  • The JVM system property
    com.ibm.ws.wspolicy.ignoreWSP12inPackagedWSDL
    can be specified and set to a value of true so that any
    WS-Policy assertions that are not part of the WS-Policy 1.5
    namespace are ignored and do not result in message CWPOL0040E
    being issued.  In such a case processing of WS-Policy in the
    client proxy's WSDL continues such that any valid WS-Policy
    1.5 assertions for WS-Addressing are applied to the JAX-WS
    client proxy.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.8 and 8.5.5.2.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM92761

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-11

  • Closed date

    2013-10-08

  • Last modified date

    2013-10-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022