Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3899

Print warning for misconfigured contract-first endpoints

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Minor
    • None
    • None
    • jbossws-cxf
    • None

    Description

      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).

      @Stateless
      @WebService(portName = "SimpleEchoPort",wsdlLocation = "META-INF/wsdl/Echo.wsdl")
      public class SimpleEcho {
      ...
      }
      

      (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.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: