[ 
https://issues.apache.org/jira/browse/CXF-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674356#action_12674356
 ] 

Daniel Kulp commented on CXF-2047:
----------------------------------


This is actually correct per spec.   The JAX-WS spec states that the Exception 
that is generated from the Fault message is in the namespace of the message 
(which in this case is the Service namespace).   The fault bean is put into the 
package for it's schema.   Thus, the behavior is correct per spec.


> WSDLToJava generates webfault in wrong package
> ----------------------------------------------
>
>                 Key: CXF-2047
>                 URL: https://issues.apache.org/jira/browse/CXF-2047
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.10
>            Reporter: Yvan DeBoeck
>         Attachments: cxf_faultproblem.zip
>
>
> When a web service has a method that throws an exception (webfault) then the 
> webfault exception class is generated in the package associated with the 
> service and not in the package of the namespace of the exception. The 
> package-namespace association is configured via -p
> I'll include an example soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to