Uploaded image for project: 'Log Tool'
  1. Log Tool
  2. LOGTOOL-76

JBoss Logging Processor should support WSDLException

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None

      This is a jboss-logging-processor issue - javax.wsdl.WSDLException has constructors :

      public WSDLException(java.lang.String faultCode,
                           java.lang.String msg,
                           java.lang.Throwable t)
      public WSDLException(java.lang.String faultCode,
                           java.lang.String msg)
      

      When I try to localize with this :

          /**
           * couldNotFindServiceInTheWSDL method definition.
           * @param portName the portName
           * @param definitionDocumentBaseURI definitionDocumentBaseURI
           * @return WSDLException
           */
          @Message(id = 35436, value = "Could not find service %s in the WSDL %s")
          WSDLException couldNotFindServiceInTheWSDL(String portName, String definitionDocumentBaseURI);
      

      I see compilation errors because jboss-logging-processor doesn't know how to support the WSDLException constructors. We should support them.

      Failure:
      [ERROR] /Users/tcunning/src/switchyard/cunningt/components/soap/src/main/java/org/switchyard/component/soap/SOAPMessages.java:[189,18] MessageMethod does not have an usable constructor for the return type javax.wsdl.WSDLException.
      [ERROR] /Users/tcunning/src/switchyard/cunningt/components/soap/src/main/java/org/switchyard/component/soap/SOAPMessages.java:[197,18] MessageMethod does not have an usable constructor for the return type javax.wsdl.WSDLException.
      [ERROR] /Users/tcunning/src/switchyard/cunningt/components/soap/src/main/java/org/switchyard/component/soap/SOAPMessages.java:[206,18] MessageMethod does not have an usable constructor for the return type javax.wsdl.WSDLException.
      

              dlloyd@redhat.com David Lloyd
              tcunning@redhat.com Thomas Cunningham
              Archiver:
              rhn-support-sthamilt Stacey Hamilton

                Created:
                Updated:
                Resolved:
                Archived: