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

Print warning for misconfigured contract-first endpoints

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: