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

Apache CXF Policy Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • 2.7.18, 3.1.11
    • None
    • None
    • Spring Tool Suite

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: