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

Apache CXF Policy Exception

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment