Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-650

CXF-SE should populate the endpoint descriptor with the WSDL in the validate() method in place of the start() method

    XMLWordPrintableJSON

Details

    Description

      When you package a CXF-SE SU and a CXF-BC or HTTP SU in the same SA, if the CXF-BC or HTTP endpoint target the CXF-SE one, you got a NullPointerException.
      This is due to the fact that the CXF-SE component populates the descriptor with the WSDL in the start() method. So the endpoint descriptor is null (not yet populated) when the CXF-BC or HTTP endpoint tries to access.
      The current workaround is to package the CXF-SE SU and the CXF-BC/HTTP one in two differents SA to force a kind of deployment order.

      A clean solution is that the CXF-SE populates the descriptor WSDL in the validate() method in place of the start() one.

      Attachments

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            jb@nanthrax.net Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: