cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yvan DeBoeck (JIRA)" <>
Subject [jira] Updated: (CXF-2047) WSDLToJava generates webfault in wrong package
Date Tue, 17 Feb 2009 20:46:59 GMT


Yvan DeBoeck updated CXF-2047:


eclipse project of minimal example illustrating issue.

The hello.Hello interface is an example of a WebFault specified in a different namespace then
the WebService.

first the wsdl is generated
with params: -createxsdimports -verbose -s generated -o hello.wsdl hello.Hello

then the reverse with -p params for different packages per namespace
with params: -p http://fault=gen_fault -p http://hello=gen_hello -verbose -client -d generated

The HelloFault class is generated in package gen_hello instead of gen_fault.
The HelloFaultDetails class is correctly generated in package gen_fault. 
(When the wsdl is generated without the option -createxsdimports, also the HelloFaultDetails
class is wrongly generated in package gen_hello.)

> WSDLToJava generates webfault in wrong package
> ----------------------------------------------
>                 Key: CXF-2047
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.10
>            Reporter: Yvan DeBoeck
>         Attachments:
> 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.

View raw message