Provide a bus level option to ensure that WSDL locations are specified
----------------------------------------------------------------------

                 Key: CXF-3593
                 URL: https://issues.apache.org/jira/browse/CXF-3593
             Project: CXF
          Issue Type: Improvement
          Components: Bus
            Reporter: Gunnar Morling


The CXF runtime automatically creates and publishes WSDL and XSD files for 
endpoints for which no explicit WSDL is specified via {{wsdlLocation}}. When 
working with hand-written WSDL/XSD files (contract-first) this behavior can be 
undesirable as always the original artifacts should be published.

In order to globally enforce the publication of the original WSDL/XSD files for 
each endpoint, a bus level option (named {{requireExplicitWSDLLocation}} or 
similar) shall be created which causes CXF to raise an error upon start-up if 
for one more endpoints no WSDL location is specified.

The topic was also discussed in [this 
thread|http://cxf.547215.n5.nabble.com/Enforcing-contract-first-endpoints-td4484075.html]
 on the mailing list.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to