xwss
  1. xwss
  2. XWSS-24

XWSS 3.0 can not be used with JAX-WS 2.0.1

    Details

      Description

      when loading the server_security_config.xml file the following exception occurs:
      java.lang.NoSuchMethodError: getServiceName
      at
      com.sun.xml.xwss.XWSSPipelineAssemblerFactory$XWSSPipelineAssembler.isSecurityConfigPresent(XWSSPipelineAssemblerFactory.java:136)
      at
      com.sun.xml.xwss.XWSSPipelineAssemblerFactory$XWSSPipelineAssembler.createServer(XWSSPipelineAssemblerFactory.java:84)
      at com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:93)
      at
      com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:199)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)

      This is line 136 in XWSSPipelineAssemblerFactory (method
      isSecurityConfigPresent()):
      QName serviceQName = context.getEndpoint().getServiceName();

      In JAX-WS 2.0.1 WSEndpointImpl there is no such method, I think it
      was introduced in JAX-WS 2.1.

        Activity

        Hide
        kumarjayanti added a comment -

        Targeted for Metro 1.2. The issue does not affect WSIT in anyway. It concerns
        standalone XWSS users.

        Show
        kumarjayanti added a comment - Targeted for Metro 1.2. The issue does not affect WSIT in anyway. It concerns standalone XWSS users.
        Hide
        kumarjayanti added a comment -

        Added Keyword : as911na

        Show
        kumarjayanti added a comment - Added Keyword : as911na
        Hide
        kumarjayanti added a comment -

        If you have any idea how i can get the service name in JAXWS 2.0.1 please let me
        know so i can think of making some code change. We have kept this low priority
        and am unable to spend time on this due to lack of cycles. If you can submit a
        patch i can review and integrate the same.

        Thanks.

        Show
        kumarjayanti added a comment - If you have any idea how i can get the service name in JAXWS 2.0.1 please let me know so i can think of making some code change. We have kept this low priority and am unable to spend time on this due to lack of cycles. If you can submit a patch i can review and integrate the same. Thanks.
        Hide
        kumarjayanti added a comment -

        reassign.

        Show
        kumarjayanti added a comment - reassign.

          People

          • Assignee:
            kumarjayanti
            Reporter:
            freddydaking
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: