cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2974) Log warning message instead of ServiceConstructionException in ReflectionServiceFactoryBean.initializeClassInfo()
Date Tue, 05 Oct 2010 16:26:35 GMT

     [ https://issues.apache.org/jira/browse/CXF-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-2974.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.3)
                   2.2.11

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


Mime
View raw message