cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Yu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-964) CXF doesnt handle the Fault with primitive type (int) as fault detail.
Date Mon, 03 Sep 2007 02:15:19 GMT

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

Jeff Yu updated CXF-964:
------------------------

    Attachment: fault.wsdl

attached the wsdl file.

> CXF doesnt handle the Fault with primitive type (int) as fault detail.
> ----------------------------------------------------------------------
>
>                 Key: CXF-964
>                 URL: https://issues.apache.org/jira/browse/CXF-964
>             Project: CXF
>          Issue Type: Bug
>          Components: Core, Tooling
>    Affects Versions: 2.0.1
>         Environment: windows
>            Reporter: Jeff Yu
>             Fix For: 2.1
>
>         Attachments: fault.wsdl
>
>
> Actually, there are two problems here:
> 1: with the wsdl, tool generate the @WebFault annotation with name "_int" instead of
"int", it will cause the unmarshall problem, due to following code JaxwsServiceFactoryBean.
(setFaultClassInfo method)
>         mpi.getConcreteName().getLocalPart().equals(name.getLocalPart() && name.getNamespaceURI().equals(ns))
> 2: After make changes to the @WebFault annotation, by changing the "_int" to "int", it
can be unmarshalled successfully, but it will be looking for   (String, Integer) constructor,
while the generated exception class only has the (String, int) class.
> Please test the attached wsdl with "ThrowIntFault" operation, and then you will see the
problem as I described.

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