[jbossws-issues] [JBoss JIRA] (JBWS-3899) Print warning for misconfigured contract-first endpoints

Alessio Soldano (JIRA) issues at jboss.org
Wed Mar 25 17:53:18 EDT 2015


     [ https://issues.jboss.org/browse/JBWS-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3899:
----------------------------------
    Priority: Minor  (was: Major)


> Print warning for misconfigured contract-first endpoints
> --------------------------------------------------------
>
>                 Key: JBWS-3899
>                 URL: https://issues.jboss.org/browse/JBWS-3899
>             Project: JBoss Web Services
>          Issue Type: Enhancement
>          Components: jbossws-cxf
>            Reporter: Alessio Soldano
>            Priority: Minor
>             Fix For: jbossws-cxf-5.0
>
>
> When user provides misconfigured contract-first endpoints as below, the stack silently ignore the request of using the specified contract and generates the wsdl (code-first).
> {noformat}
> @Stateless
> @WebService(portName = "SimpleEchoPort",wsdlLocation = "META-INF/wsdl/Echo.wsdl")
> public class SimpleEcho {
> ...
> }
> {noformat}
> (notice there's no serviceName specified, hence the stack won't know which port/service to use from the contract)
> We should likely print a warning in this scenario, asking the user if he really wants a contract-first endpoint.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbossws-issues mailing list