Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1466

Apply WS-Security config (cxf interceptor) when use @WebService with javax.xml.ws.Service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.2, 7.0.0
    • 1.7.2, 7.0.0-M1
    • None
    • All

    Description

      Romain has made the code to use ws-security while configuring it by server files. Great !

      But this only work when you inject Port with @WebServiceRef.

      In JaxWS we can inject javax.xml.ws.Service sublclass, for example generated by the jaxws maven plugin, then we can get the port by using a get method.

      This is essential to be able to put features (like MTOM and Adressing) that sometimes need some parameters (threshold for MTOM for example).

      I made the patch, with the unit test

      Attachments

        1. patch.txt
          30 kB
          Yann Blazart

        Activity

          People

            Unassigned Unassigned
            yblazart Yann Blazart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: