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

Print warning for misconfigured contract-first endpoints

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jbossws-cxf
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asoldano Alessio Soldano
                  Reporter:
                  asoldano Alessio Soldano
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: