Log warning message instead of ServiceConstructionException in ReflectionServiceFactoryBean.initializeClassInfo() --------------------------------------------------------------------------------------------------------------------
Key: CXF-2974 URL: https://issues.apache.org/jira/browse/CXF-2974 Project: CXF Issue Type: Bug Components: Simple Frontend Reporter: jimma Assignee: jimma Fix For: 2.3 When publish following service impl class with the wsdl generated from this same class, the runtime throws ServiceConstructionException because the wsdl generated is bare style which does not match with class method wrapped style. @WebService(wsdlLocation="WebResult.wsdl") @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) public class WebResultService { @WebMethod(operationName="helloString", action="urn:HelloString") @WebResult(name="employee", partName="Employee", header=true, targetNamespace="hello/employee") public Employee hello(@WebParam(name="EmployeeName", header=true, targetNamespace="hello/employee") Employee employee, String name) throws NameException { Name newName = new Name(); newName.setFirstName("firstname"); newName.setLastName(name); Employee newEmployee = new Employee(); return newEmployee; } } After talked with Oracle's jaxws spec guys, I am told this specific case is valid and jaxws2.1 complaint. So we just log a warning message and enable the further process on it to support this use case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.