Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7402

Apache CXF Policy Exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 2.7.18, 3.1.11
    • Component/s: None
    • Labels:
      None
    • Environment:

      Spring Tool Suite

    • Estimated Complexity:
      Unknown

      Description

      Caused by: org.apache.cxf.ws.policy.PolicyException: Reference to policy #WSHttpBinding_ICrmService_policy could not be resolved.

      I am getting this exception when calling one of the methods.
      This is part of WSDL which is referencing a local policy.
      <wsp:Policy wsu:Id="WSHttpBinding_ICrmService_policy">
      <wsp:ExactlyOne>
      <wsp:All>
      <wsaw:UsingAddressing />
      </wsp:All>
      </wsp:ExactlyOne>
      </wsp:Policy>
      <wsp:PolicyReference URI="#WSHttpBinding_ICrmService_policy" />

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              piyushkalra1990@gmail.com piyush
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: