[jboss-jira] [JBoss JIRA] (LOGTOOL-76) JBoss Logging Processor should support WSDLException

David Lloyd (JIRA) issues at jboss.org
Thu Feb 27 21:19:47 EST 2014


    [ https://issues.jboss.org/browse/LOGTOOL-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12948832#comment-12948832 ] 

David Lloyd commented on LOGTOOL-76:
------------------------------------

We talked about possibly having a way to override or specify the argument offset of the message parameter, and maybe providing a way to feed other parameters in as well.
                
> JBoss Logging Processor should support WSDLException
> ----------------------------------------------------
>
>                 Key: LOGTOOL-76
>                 URL: https://issues.jboss.org/browse/LOGTOOL-76
>             Project: Log Tool
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Tom Cunningham
>            Assignee: David Lloyd
>
> This is a jboss-logging-processor issue - javax.wsdl.WSDLException has constructors :
> {code}
> public WSDLException(java.lang.String faultCode,
>                      java.lang.String msg,
>                      java.lang.Throwable t)
> public WSDLException(java.lang.String faultCode,
>                      java.lang.String msg)
> {code}
> When I try to localize with this :
> {code}
>     /**
>      * 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);
> {code}
> I see compilation errors because jboss-logging-processor doesn't know how to support the WSDLException constructors.    We should support them.
> {noformat}
> 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.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list