Can you provide the wsdl file?

Jim.

On Wed, Jul 8, 2009 at 12:56 AM, Tedman Leung <[email protected]> wrote:

> Hi I'm having this issue where CXF is changing my enumeration names when I
> generate the client stubs using WSDLToJava
>
> i.e. on the server side I have
>
>   public enum Foo
>   {
>      IC9, IC10, IC12
>   }
>
> when I generate the stubs for this I get
>
>   public enum Foo
>   {
>      IC_9, IC_10, IC_12
>   }
>
> I don't think I'm doing anything special, I believe I'm using
> -verbose -client and that's it other than my source/destination options.
>
> When I look at the wsdl on the server (presented by the web page) it's
> correct, it shows <xs:enumeration value="IC9" />
>
> anyone know how to make this client generation work as expected?
>
> I'm using cxf 2.2.1 and java1.6
> --
>                                                           Ted Leung
>                                                           [email protected]
>
> It is easier to speak wisely than to act wisely.
>

Reply via email to