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

JAXBDataBinding can not handle the exception with generic objects like ObjectWithGenerics<Boolean, Integer>

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      When the Exeception has some generics object like :

      @javax.xml.ws.WebFault
      public class GenericsException extends Exception {
          private static final long serialVersionUID = 1L;
          private ObjectWithGenerics<Boolean, Integer> obj;
      
          public ObjectWithGenerics<Boolean, Integer> getObj() {
              return obj;
          }
          public void setObj(ObjectWithGenerics<Boolean, Integer> obj) {
              this.obj = obj;
          }
      }
      

      Both the wsdl generated from the exception class is wrong and soap fault message is not expected.

        Attachments

          Activity

            People

            • Assignee:
              ema Jim Ma
              Reporter:
              ema Jim Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: